]> code.delx.au - pymsnt/blobdiff - src/legacy/msn/msnp11chl.py
* Python 2.5 doesn't always return longs from struct.unpack, so we have to be clever...
[pymsnt] / src / legacy / msn / msnp11chl.py
index 39a7e9bada307f4fa41f89f7685f525afdb63c59..8eb22b2f373da5c65f0dfe068d1f459fee230f10 100644 (file)
@@ -55,7 +55,7 @@ def doChallenge(chlData):
        out = ""
        for x in longs:
                x = hex(x)
-               x = x[2:-1]
+               x = x[2:].strip("L")
                x = x.zfill(16)
                out += x.lower()