Skip to content

Commit

Permalink
[compat] flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw committed Apr 6, 2021
1 parent 25b1287 commit 6b315d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/compat.py
Expand Up @@ -76,7 +76,7 @@ def __init__(self, version, name, value, *args, **kwargs):
if sys.version_info[0] == 2:
class compat_SimpleCookie(compat_cookies.SimpleCookie):
def load(self, rawdata):
if isinstance(rawdata, unicode):
if isinstance(rawdata, compat_str):
rawdata = str(rawdata)
return super(compat_SimpleCookie, self).load(rawdata)
else:
Expand Down

0 comments on commit 6b315d9

Please sign in to comment.