From dea62189b2e3000e9cfd3851cb324260294b2ce8 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Tue, 12 Mar 2013 22:16:42 +0000 Subject: [PATCH] fixes #420 --- lib/core/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/common.py b/lib/core/common.py index 0da1c0422..4bba64305 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -817,7 +817,7 @@ def dataToOutFile(filename, data): retVal = None if data: - retVal = "%s%s%s" % (conf.filePath, os.sep, filePathToString(filename)) + retVal = "%s%s%s" % (conf.filePath, os.sep, filePathToSafeString(filename)) with codecs.open(retVal, "wb", UNICODE_ENCODING) as f: f.write(data)