[gen] Bugfix: remove carriage returns when normalizing strings intended to be used as filenames.
This commit is contained in:
parent
fcf6a52974
commit
cd29eccd41
|
@ -226,7 +226,7 @@ def executeCommand(cmd):
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
charsIgnore = u'.,:;*+=~?%^\'’"<>{}[]|\t\\°-'
|
charsIgnore = u'.,:;*+=~?%^\'’"<>{}[]|\t\\°-'
|
||||||
fileNameIgnore = charsIgnore + u' $£€/'
|
fileNameIgnore = charsIgnore + u' $£€/\r\n'
|
||||||
extractIgnore = charsIgnore + '()'
|
extractIgnore = charsIgnore + '()'
|
||||||
alphaRex = re.compile('[a-zA-Z]')
|
alphaRex = re.compile('[a-zA-Z]')
|
||||||
alphanumRex = re.compile('[a-zA-Z0-9]')
|
alphanumRex = re.compile('[a-zA-Z0-9]')
|
||||||
|
|
Loading…
Reference in a new issue