From ae7dc456caf9ca40f82bc6ffb43dd76c3d05bdf6 Mon Sep 17 00:00:00 2001 From: rembo10 Date: Tue, 8 Apr 2014 12:41:11 -0700 Subject: [PATCH] Bug in helpers.replace_illegal_chars --- headphones/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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