fix normalize_name
This commit is contained in:
parent
a09410f853
commit
f9474e59db
1 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ def normalizeName(baseName):
|
|||
continue
|
||||
if ord(x) > 127:
|
||||
# map to ASCII characters
|
||||
c = chr(ord(x) & 127).decode('ISO8859-15')
|
||||
c = bytes([ord(x) & 127]).decode('ISO8859-15')
|
||||
if c in ':,/\\ ':
|
||||
# replace separator characters with _
|
||||
result.append('_')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue