Remove unnecessary strip() after regex substitution

This commit is contained in:
Rafael Moraes
2026-01-15 22:28:54 -03:00
parent b14004f3e3
commit d0ab35383b
+1 -1
View File
@@ -146,7 +146,7 @@ class AppleMusicBaseDownloader:
ILLEGAL_CHARS_RE,
ILLEGAL_CHAR_REPLACEMENT,
dirty_string,
).strip()
)
if file_ext is None:
sanitized_string = sanitized_string[: self.truncate]