diff --git a/headphones/helpers.py b/headphones/helpers.py index f3e130ec..5c3bc3af 100644 --- a/headphones/helpers.py +++ b/headphones/helpers.py @@ -181,7 +181,7 @@ def replace_illegal_chars(string, type="file"): if type == "file": string = re.sub('[\?"*:|<>/]', string) if type == "folder": - string = re.sub('[:?<>"|]') + string = re.sub('[:?<>"|]', string) return string