Skip to content

Unescaped + character in hlapi.py results in utf-7 codec error #36

@OneDevTwoDev

Description

@OneDevTwoDev

The '+' character is not escaped in the following comment in hlapi.py

python-TSIP/tsip/hlapi.py

Lines 109 to 111 in 79414f2

# Possible structs for packet ID + subcode
#

This results in the following error being generated when attempting to import tsip on Python 3.9 or greater:

SyntaxError: 'utf7' codec can't decode bytes in position 2906-2907: ill-formed sequence

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