Bug in helpers.replace_illegal_chars

This commit is contained in:
rembo10
2014-04-08 12:41:11 -07:00
parent ea1e01d417
commit ae7dc456ca

View File

@@ -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