Skip to content

Commit c53684d

Browse files
committed
feedparser.py python 3.9 error fix
1 parent 59586b6 commit c53684d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ps5/feedparser.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
base64 = binascii = None
9191
else:
9292
# Python 3.1 deprecates decodestring in favor of decodebytes
93-
_base64decode = getattr(base64, 'decodebytes', base64.decodestring)
93+
_base64decode = getattr(base64, 'decodebytes', base64.decodebytes)
9494

9595
# _s2bytes: convert a UTF-8 str to bytes if the interpreter is Python 3
9696
# _l2bytes: convert a list of ints to bytes if the interpreter is Python 3

0 commit comments

Comments
 (0)