Fix wrong syntax

This commit is contained in:
Khiem Doan 2020-11-26 14:19:06 +07:00
commit fb10d20ea3
3 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ else:
def StructWithLenPython2or3(endian,data):
#Python2...
if PY2OR3 is "PY2":
if PY2OR3 == "PY2":
return struct.pack(endian, data)
#Python3...
else: