mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-18 20:13:34 +03:00
minor adjustment
This commit is contained in:
parent
f1ab887c55
commit
085495024f
|
@ -759,7 +759,7 @@ def dataToStdout(data, forceOutput=False, bold=False, content_type=None, status=
|
||||||
else:
|
else:
|
||||||
message = data
|
message = data
|
||||||
|
|
||||||
if content_type is not None and status is not None:
|
if hasattr(conf, "api"):
|
||||||
sys.stdout.write(message, status=status, content_type=content_type)
|
sys.stdout.write(message, status=status, content_type=content_type)
|
||||||
else:
|
else:
|
||||||
sys.stdout.write(setColor(message, bold))
|
sys.stdout.write(setColor(message, bold))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user