From e794c7f246d33da83335ee965bd2653f36cc8d7f Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 15 Dec 2014 09:13:13 +0100 Subject: [PATCH] Patch for an Issue #1027 --- lib/core/target.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/target.py b/lib/core/target.py index ca9851c84..2f33daa7b 100644 --- a/lib/core/target.py +++ b/lib/core/target.py @@ -597,7 +597,7 @@ def _createTargetDirs(): errMsg += "create temporary files and/or directories" raise SqlmapGenericException(errMsg) warnMsg = "unable to create output directory " - warnMsg += "'%s' (%s). " % (conf.outputPath, ex) + warnMsg += "'%s' (%s). " % (conf.outputPath, getUnicode(ex)) warnMsg += "Using temporary directory '%s' instead" % tempDir logger.warn(warnMsg)