diff --git a/tubesync/common/utils.py b/tubesync/common/utils.py index 988b4f1..26aeef8 100644 --- a/tubesync/common/utils.py +++ b/tubesync/common/utils.py @@ -19,7 +19,7 @@ def append_uri_params(uri, params): def clean_filename(filename): if not isinstance(filename, str): raise ValueError(f'filename must be a str, got {type(filename)}') - to_scrub = '<>\/:*?"|' + to_scrub = '<>\/:*?"|%' for char in to_scrub: filename = filename.replace(char, '') filename = ''.join([c for c in filename if ord(c) > 30])