From a6ae4690a96b9e5cbced7616da83f3eee2c13235 Mon Sep 17 00:00:00 2001 From: jamesbunton Date: Fri, 20 Oct 2006 08:48:29 +0000 Subject: [PATCH] * Python 2.5 doesn't always return longs from struct.unpack, so we have to be cleverer when turning things into hexadecimal. git-svn-id: http://delx.cjb.net/svn/pymsnt/trunk@230 55fbd22a-6204-0410-b2f0-b6c764c7e90a committer: jamesbunton --- src/legacy/msn/msnp11chl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/legacy/msn/msnp11chl.py b/src/legacy/msn/msnp11chl.py index 39a7e9b..8eb22b2 100644 --- a/src/legacy/msn/msnp11chl.py +++ b/src/legacy/msn/msnp11chl.py @@ -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() -- 2.39.2