projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25b1287
)
[compat] flake8
author
Sergey M․
<dstftw@gmail.com>
Tue, 6 Apr 2021 07:15:13 +0000
(14:15 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 6 Apr 2021 07:15:13 +0000
(14:15 +0700)
youtube_dl/compat.py
patch
|
blob
|
history
diff --git
a/youtube_dl/compat.py
b/youtube_dl/compat.py
index 8a5262dc8e3dec532141652c5039926b275caf1e..566e9d5ecd75fb858bb133d7ad66b75c0de31e9b 100644
(file)
--- a/
youtube_dl/compat.py
+++ b/
youtube_dl/compat.py
@@
-76,7
+76,7
@@
except ImportError: # Python 2
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: