projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c469a9
)
remove accidental remnants
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 26 Nov 2012 23:14:12 +0000
(
00:14
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 26 Nov 2012 23:14:12 +0000
(
00:14
+0100)
youtube_dl/utils.py
patch
|
blob
|
history
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index 55f2fe02c0dc204ed6036bdab205896679699f71..1f60d34ae23ad2f36b54072e0b133d3cd2a22149 100644
(file)
--- a/
youtube_dl/utils.py
+++ b/
youtube_dl/utils.py
@@
-203,7
+203,7
@@
def sanitize_filename(s, restricted=False):
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 '\\/|*<>':