aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index 40d6823a0..45582ca11 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -27,9 +27,9 @@ std_headers = {
}
try:
- compat_str = unicode # Python 2
+ compat_str = unicode # Python 2
except NameError:
- compat_str = str
+ compat_str = str
def preferredencoding():
"""Get preferred encoding.