Fix other special char.

This commit is contained in:
Lovi 2024-06-22 08:39:47 +02:00
parent 390319171f
commit 433928b50f

View File

@ -31,9 +31,14 @@ from .console import console
# --> OS FILE ASCII
special_chars_to_remove = ['!','@','#','$','%','^','&','*','(',')','[',']','{','}','<','|','`','~',"'",'"',';',':',',','?',"\\","/","\t"]
special_chars_to_remove = [
'!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '[', ']', '{', '}', '<',
'>', '|', '`', '~', "'", '"', ';', ':', ',', '?', '\\', '/', '\t', ' ', '=',
'+', '\n', '\r', '\0'
]
def get_max_length_by_os(system: str) -> int:
"""