commit: 6b315d96bc0b07ddc3abaa7318583775828cce30
parent 25b1287323f5836c9416a8183096adc63809d5ce
Author: Sergey M․ <dstftw@gmail.com>
Date: Tue, 6 Apr 2021 14:15:13 +0700
[compat] flake8
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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: