mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 10:54:53 +02:00
No longer strip the [] characters from filenames
This commit is contained in:
parent
ce5f382390
commit
e9d1b7b72a
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ def osx_version():
|
|||
return int(m.group(1)), int(m.group(2)), int(m.group(3))
|
||||
|
||||
|
||||
_filename_sanitize = re.compile(r'[\xae\0\\|\?\*<":>\+\[\]/]')
|
||||
_filename_sanitize = re.compile(r'[\xae\0\\|\?\*<":>\+/]')
|
||||
|
||||
def sanitize_file_name(name, substitute='_', as_unicode=False):
|
||||
'''
|
||||
|
|
|
|||
Loading…
Reference in a new issue