A feature-rich command-line audio/video downloader
[compat] Fix python version check for compat_shlex_split
Sergey M․8df5ae15d1f0
diff --git a/youtube_dl/compat.py b/youtube_dl/compat.pyindex 9b77316f9e..e32bef2798 100644--- a/youtube_dl/compat.py+++ b/youtube_dl/compat.py@@ -228,7 +228,7 @@ except ImportError: # Python < 3.3return "'" + s.replace("'", "'\"'\"'") + "'"-if sys.version_info > (2, 7, 2):+if sys.version_info >= (2, 7, 3):compat_shlex_split = shlex.splitelse:# Working around shlex issue with unicode strings on some python 2