#35 Bugfix: Fix invalid argument error when file name contain illegal character '\t'.

This commit is contained in:
codezjx 2018-10-08 19:15:21 +08:00
parent 6d7920c72c
commit 4102d3ca81
1 changed files with 1 additions and 1 deletions

View File

@ -127,4 +127,4 @@ def format_string(string):
""" """
Replace illegal character with ' ' Replace illegal character with ' '
""" """
return re.sub(r'[\\/:*?"<>|]', ' ', string) return re.sub(r'[\\/:*?"<>|\t]', ' ', string)