[t1Lib] fix longToString function

This commit is contained in:
Cosimo Lupo 2015-10-22 16:28:18 +01:00
parent 6523449cc8
commit 07042e7c88

View File

@ -356,7 +356,7 @@ def assertType1(data):
# pfb helpers
def longToString(long):
s = ""
s = b""
for i in range(4):
s += bytechr((long & (0xff << (i * 8))) >> i * 8)
return s