[gen] Bugfix: remove carriage returns when normalizing strings intended to be used as filenames.

This commit is contained in:
Gaetan Delannay 2015-01-27 09:36:46 +01:00
parent fcf6a52974
commit cd29eccd41

View file

@ -226,7 +226,7 @@ def executeCommand(cmd):
# ------------------------------------------------------------------------------
charsIgnore = u'.,:;*+=~?%^\'"<>{}[]|\t\\°-'
fileNameIgnore = charsIgnore + u' $£€/'
fileNameIgnore = charsIgnore + u' $£€/\r\n'
extractIgnore = charsIgnore + '()'
alphaRex = re.compile('[a-zA-Z]')
alphanumRex = re.compile('[a-zA-Z0-9]')