mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
code consistency
This commit is contained in:
@@ -467,7 +467,7 @@ def _createTargetDirs():
|
||||
try:
|
||||
os.makedirs(paths.SQLMAP_OUTPUT_PATH, 0755)
|
||||
except OSError, ex:
|
||||
tempDir = tempfile.mkdtemp(prefix='output')
|
||||
tempDir = tempfile.mkdtemp(prefix="sqlmapoutput")
|
||||
warnMsg = "unable to create default root output directory "
|
||||
warnMsg += "'%s' (%s). " % (paths.SQLMAP_OUTPUT_PATH, ex)
|
||||
warnMsg += "using temporary directory '%s' instead" % tempDir
|
||||
@@ -481,7 +481,7 @@ def _createTargetDirs():
|
||||
try:
|
||||
os.makedirs(conf.outputPath, 0755)
|
||||
except OSError, ex:
|
||||
tempDir = tempfile.mkdtemp(prefix='output')
|
||||
tempDir = tempfile.mkdtemp(prefix="sqlmapoutput")
|
||||
warnMsg = "unable to create output directory "
|
||||
warnMsg += "'%s' (%s). " % (conf.outputPath, ex)
|
||||
warnMsg += "using temporary directory '%s' instead" % tempDir
|
||||
|
||||
Reference in New Issue
Block a user