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

Skip to content

Commit e794c7f

Browse files
committed
Patch for an Issue #1027
1 parent eb15a19 commit e794c7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/target.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ def _createTargetDirs():
597597
errMsg += "create temporary files and/or directories"
598598
raise SqlmapGenericException(errMsg)
599599
warnMsg = "unable to create output directory "
600-
warnMsg += "'%s' (%s). " % (conf.outputPath, ex)
600+
warnMsg += "'%s' (%s). " % (conf.outputPath, getUnicode(ex))
601601
warnMsg += "Using temporary directory '%s' instead" % tempDir
602602
logger.warn(warnMsg)
603603

0 commit comments

Comments
 (0)