diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-09-05 22:21:06 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-09-05 22:21:06 +0600 |
commit | 8df5ae15d1f010bd96a8c51087718c5f41d3d90f (patch) | |
tree | c09d8a2ae31805f04447e943c9c6732b398dae4a /youtube_dl | |
parent | 12439dd5ec46ccac1ef13db7280473ecef44a096 (diff) |
[compat] Fix python version check for compat_shlex_split
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/compat.py b/youtube_dl/compat.py index 9b77316f9..e32bef279 100644 --- a/youtube_dl/compat.py +++ b/youtube_dl/compat.py @@ -228,7 +228,7 @@ except ImportError: # Python < 3.3 return "'" + s.replace("'", "'\"'\"'") + "'" -if sys.version_info > (2, 7, 2): +if sys.version_info >= (2, 7, 3): compat_shlex_split = shlex.split else: # Working around shlex issue with unicode strings on some python 2 |