From 240089e5df640a12b1d300da05932c2f74ff8c69 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Tue, 27 Nov 2012 00:14:12 +0100 Subject: [PATCH] remove accidental remnants --- youtube_dl/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 55f2fe02c..1f60d34ae 100644 --- 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 '\\/|*<>': -- 2.22.2