Skip to content

Python 3 compatibility #6

@garciaargos

Description

@garciaargos

Nice script, thanks a lot. I just received a brand new RD200 and the compatibility with Python 3 can be fixed by changing line 49:

RadonEyeWrite.write(bytes("\x50"))

with:

RadonEyeWrite.write(bytes("\x50", "ascii"))

Unfortunately this wouldn't work with 2.7. But 2.7 has been End of Life for 2 years :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions