0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +00:00

remove accidental remnants

This commit is contained in:
Philipp Hagemeister 2012-11-27 00:14:12 +01:00
parent 1c469a9480
commit 240089e5df

View file

@ -203,7 +203,7 @@ def replace_insane(char):
if char == '?' or ord(char) < 32 or ord(char) == 127:
return ''
elif char == '"':
return '' if restricted else 'FOO\''
return '' if restricted else '\''
elif char == ':':
return '_-' if restricted else ' -'
elif char in '\\/|*<>':