Browse Source

remove accidental remnants

Philipp Hagemeister 13 năm trước cách đây
mục cha
commit
240089e5df
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      youtube_dl/utils.py

+ 1 - 1
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 '\\/|*<>':