Fix failure introduced in r83182.

This commit is contained in:
Ezio Melotti 2010-07-28 00:23:21 +00:00
parent cf448832eb
commit 84befb00bd
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ def b32decode(s, casefold=False, map01=None):
acc += _b32rev[c] << shift acc += _b32rev[c] << shift
shift -= 5 shift -= 5
if shift < 0: if shift < 0:
parts.append(binascii.unhexlify('%010x' % acc)) parts.append(binascii.unhexlify(bytes('%010x' % acc, "ascii")))
acc = 0 acc = 0
shift = 35 shift = 35
# Process the last, partial quanta # Process the last, partial quanta