Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2afb568

Browse files
committed
Fixes #1307
1 parent 21e8182 commit 2afb568

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/core/target.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ def _createTargetDirs():
604604

605605
warnMsg = "unable to create regular output directory "
606606
warnMsg += "'%s' (%s). " % (paths.SQLMAP_OUTPUT_PATH, getUnicode(ex))
607-
warnMsg += "Using temporary directory '%s' instead" % tempDir
607+
warnMsg += "Using temporary directory '%s' instead" % getUnicode(tempDir)
608608
logger.warn(warnMsg)
609609

610610
paths.SQLMAP_OUTPUT_PATH = tempDir
@@ -626,7 +626,7 @@ def _createTargetDirs():
626626

627627
warnMsg = "unable to create output directory "
628628
warnMsg += "'%s' (%s). " % (conf.outputPath, getUnicode(ex))
629-
warnMsg += "Using temporary directory '%s' instead" % tempDir
629+
warnMsg += "Using temporary directory '%s' instead" % getUnicode(tempDir)
630630
logger.warn(warnMsg)
631631

632632
conf.outputPath = tempDir

0 commit comments

Comments
 (0)