Browse Source

remove accidental remnants

master
Philipp Hagemeister 12 years ago
parent
commit
240089e5df
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/utils.py

2
youtube_dl/utils.py

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

Loading…
Cancel
Save