Skip to content

Commit 84befb0

Browse files
committed
Fix failure introduced in r83182.
1 parent cf44883 commit 84befb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/base64.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def b32decode(s, casefold=False, map01=None):
241241
acc += _b32rev[c] << shift
242242
shift -= 5
243243
if shift < 0:
244-
parts.append(binascii.unhexlify('%010x' % acc))
244+
parts.append(binascii.unhexlify(bytes('%010x' % acc, "ascii")))
245245
acc = 0
246246
shift = 35
247247
# Process the last, partial quanta

0 commit comments

Comments
 (0)