Skip to content

Python AttributeError: 'str' object has no attribute 'decode' in fskdemodgui.py #8

@ianb888

Description

@ianb888

On line 174 of fskdemodgui.py is the following:

in_line = sys.stdin.readline().decode('ascii')

This line causes an exception, "AttributeError: 'str' object has no attribute 'decode'"

Changing this to in_line = sys.stdin.readline() works, but I am not sure what the ramifications are elsewhere in the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions