Skip to content

Commit

Permalink
feedparser.py python 3.9 error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lcsm29 committed May 12, 2021
1 parent 59586b6 commit c53684d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ps5/feedparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
base64 = binascii = None
else:
# Python 3.1 deprecates decodestring in favor of decodebytes
_base64decode = getattr(base64, 'decodebytes', base64.decodestring)
_base64decode = getattr(base64, 'decodebytes', base64.decodebytes)

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

0 comments on commit c53684d

Please sign in to comment.