]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
remove accidental remnants
authorPhilipp Hagemeister <phihag@phihag.de>
Mon, 26 Nov 2012 23:14:12 +0000 (00:14 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Mon, 26 Nov 2012 23:14:12 +0000 (00:14 +0100)
youtube_dl/utils.py

index 55f2fe02c0dc204ed6036bdab205896679699f71..1f60d34ae23ad2f36b54072e0b133d3cd2a22149 100644 (file)
@@ -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 '\\/|*<>':