mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-22 12:49:26 +00:00
Bug in helpers.replace_illegal_chars
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user