From 2afb5687f697c2d65010a13adecb47eb806bf779 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 20 Jul 2015 15:47:27 +0200 Subject: [PATCH] Fixes #1307 --- lib/core/target.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/target.py b/lib/core/target.py index 442a8cd7a..c1bf921bd 100644 --- a/lib/core/target.py +++ b/lib/core/target.py @@ -604,7 +604,7 @@ def _createTargetDirs(): warnMsg = "unable to create regular output directory " warnMsg += "'%s' (%s). " % (paths.SQLMAP_OUTPUT_PATH, getUnicode(ex)) - warnMsg += "Using temporary directory '%s' instead" % tempDir + warnMsg += "Using temporary directory '%s' instead" % getUnicode(tempDir) logger.warn(warnMsg) paths.SQLMAP_OUTPUT_PATH = tempDir @@ -626,7 +626,7 @@ def _createTargetDirs(): warnMsg = "unable to create output directory " warnMsg += "'%s' (%s). " % (conf.outputPath, getUnicode(ex)) - warnMsg += "Using temporary directory '%s' instead" % tempDir + warnMsg += "Using temporary directory '%s' instead" % getUnicode(tempDir) logger.warn(warnMsg) conf.outputPath = tempDir