Patch for an Issue #1027

This commit is contained in:
Miroslav Stampar 2014-12-15 09:13:13 +01:00
parent eb15a19532
commit e794c7f246

View File

@ -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)