File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -519,7 +519,7 @@ def _createFilesDir():
519519 except OSError , ex :
520520 tempDir = tempfile .mkdtemp (prefix = "sqlmapfiles" )
521521 warnMsg = "unable to create files directory "
522- warnMsg += "'%s' (%s). " % (conf .filePath , ex )
522+ warnMsg += "'%s' (%s). " % (conf .filePath , getUnicode ( ex ) )
523523 warnMsg += "Using temporary directory '%s' instead" % tempDir
524524 logger .warn (warnMsg )
525525
@@ -541,7 +541,7 @@ def _createDumpDir():
541541 except OSError , ex :
542542 tempDir = tempfile .mkdtemp (prefix = "sqlmapdump" )
543543 warnMsg = "unable to create dump directory "
544- warnMsg += "'%s' (%s). " % (conf .dumpPath , ex )
544+ warnMsg += "'%s' (%s). " % (conf .dumpPath , getUnicode ( ex ) )
545545 warnMsg += "Using temporary directory '%s' instead" % tempDir
546546 logger .warn (warnMsg )
547547
@@ -576,7 +576,7 @@ def _createTargetDirs():
576576 errMsg += "create temporary files and/or directories"
577577 raise SqlmapGenericException (errMsg )
578578 warnMsg = "unable to create regular output directory "
579- warnMsg += "'%s' (%s). " % (paths .SQLMAP_OUTPUT_PATH , ex )
579+ warnMsg += "'%s' (%s). " % (paths .SQLMAP_OUTPUT_PATH , getUnicode ( ex ) )
580580 warnMsg += "Using temporary directory '%s' instead" % tempDir
581581 logger .warn (warnMsg )
582582
You can’t perform that action at this time.
0 commit comments