mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +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:
|
||||
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)
|
||||
else:
|
||||
sys.stdout.write(setColor(message, bold))
|
||||
|
|
Loading…
Reference in New Issue
Block a user