summaryrefslogtreecommitdiffhomepage
path: root/test/test_utils.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2012-11-27 17:15:33 +0100
committerPhilipp Hagemeister <[email protected]>2012-11-27 17:15:33 +0100
commitdffe658bac71531dc6aa72088c4d98f6a556bfbf (patch)
tree910753b3261883902e69f7e7ca896b778235a58f /test/test_utils.py
parent33d94a6c999ae784be7529aaaea42adadeab0c27 (diff)
downloadyoutube-dl-dffe658bac71531dc6aa72088c4d98f6a556bfbf.tar.gz
youtube-dl-dffe658bac71531dc6aa72088c4d98f6a556bfbf.zip
Remove exclamation mark in --restrict-filenames mode
Diffstat (limited to 'test/test_utils.py')
-rw-r--r--test/test_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_utils.py b/test/test_utils.py
index e7d4e0330..a3a23fbb4 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -56,7 +56,7 @@ class TestUtil(unittest.TestCase):
self.assertEqual(sanitize_filename(u'aäb中国的c', restricted=True), u'a_b_c')
self.assertTrue(sanitize_filename(u'ö', restricted=True) != u'') # No empty filename
- forbidden = u'"\0\\/&: \'\t\n'
+ forbidden = u'"\0\\/&!: \'\t\n'
for fc in forbidden:
for fbc in forbidden:
self.assertTrue(fbc not in sanitize_filename(fc, restricted=True))