This commit is contained in:
XXXXRT666 2024-08-02 18:37:01 +08:00
parent 8d7b601777
commit bcc883844b

View File

@ -30,4 +30,4 @@ def clean_path(path_str:str):
return clean_path(path_str[0:-1])
if platform.system() == 'Windows':
path_str = path_str.replace('/', '\\')
return path_str.strip(" ").strip('"').strip("\n").strip('"').strip(" ").strip("\u202a")
return path_str.strip(" ").strip('\'').strip("\n").strip('"').strip(" ").strip("\u202a")