This commit is contained in:
lgandx 2020-12-31 01:18:16 -03:00
commit fc4ac599d3
4 changed files with 14 additions and 10 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: