From cd29eccd41f0008a924503f387342ae28e976907 Mon Sep 17 00:00:00 2001 From: Gaetan Delannay Date: Tue, 27 Jan 2015 09:36:46 +0100 Subject: [PATCH] [gen] Bugfix: remove carriage returns when normalizing strings intended to be used as filenames. --- shared/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/utils.py b/shared/utils.py index 09af749..5fca29c 100644 --- a/shared/utils.py +++ b/shared/utils.py @@ -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]')