mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-06 11:35:29 +00:00
Fix other special char.
This commit is contained in:
parent
390319171f
commit
433928b50f
@ -31,9 +31,14 @@ from .console import console
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# --> OS FILE ASCII
|
# --> 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:
|
def get_max_length_by_os(system: str) -> int:
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user