mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[compat] Fix python version check for compat_shlex_split
This commit is contained in:
parent
12439dd5ec
commit
8df5ae15d1
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ def shlex_quote(s):
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue