kikyous / xfdown

QQ旋风离线下载程序
170 stars 54 forks source link

FIXME: TypeError: md5() argument 1 must be string or read-only buffer, not bytearray #18

Open ld opened 11 years ago

ld commented 11 years ago

QQ:** PASSWD: Traceback (most recent call last): File "xfdown.py", line 114, in xf = XF() File "/home/ldong/xfdown/xfdown_api.py", line 171, in init self.Login(True) File "/home/ldong/xfdown/xfdown_api.py", line 374, in Login self.verifycode File "/home/ldong/xfdown/xfdown_api.py", line 142, in preprocess H = self.__md5(I + verifycode[2]) File "/home/ldong/xfdown/xfdown_api.py", line 153, in __md5 return hashlib.md5(item).hexdigest().upper() TypeError: md5() argument 1 must be string or read-only buffer, not bytearray

ld commented 11 years ago

Running Environment: PYTHON2.6 Urwid is installed.

shinvdu commented 11 years ago

是上面的环境也有这个问题