diff --git a/Src/Util/os.py b/Src/Util/os.py index bc905a2..23a188d 100644 --- a/Src/Util/os.py +++ b/Src/Util/os.py @@ -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: """