diff --git a/devine/core/utilities.py b/devine/core/utilities.py index 0706203..174368d 100644 --- a/devine/core/utilities.py +++ b/devine/core/utilities.py @@ -111,7 +111,7 @@ def sanitize_filename(filename: str, spacer: str = ".") -> str: replace("/", " & ").\ replace(";", " & ") # e.g. multi-episode filenames filename = re.sub(r"[:; ]", spacer, filename) # structural chars to (spacer) - filename = re.sub(r"[\\*!?¿,'\"()<>|$#]", "", filename) # not filename safe chars + filename = re.sub(r"[\\*!?¿,'\"“”()<>|$#]", "", filename) # not filename safe chars filename = re.sub(rf"[{spacer}]{{2,}}", spacer, filename) # remove extra neighbouring (spacer)s return filename