mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-22 22:13:08 +03:00
Minor fix when two readInput/dataToStdout are called one at a time
This commit is contained in:
parent
97c06854a4
commit
799bd51c2e
|
@ -774,6 +774,10 @@ def dataToStdout(data, forceOutput=False, bold=False, content_type=None, status=
|
||||||
else:
|
else:
|
||||||
message = data
|
message = data
|
||||||
|
|
||||||
|
if kb.prependFlag:
|
||||||
|
message = "\n%s" % message
|
||||||
|
kb.prependFlag = False
|
||||||
|
|
||||||
if hasattr(conf, "api"):
|
if hasattr(conf, "api"):
|
||||||
sys.stdout.write(message, status, content_type)
|
sys.stdout.write(message, status, content_type)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user