mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
minor fix
This commit is contained in:
parent
5afbd52b61
commit
1f6ce265b9
|
@ -734,7 +734,7 @@ def dataToStdout(data, forceOutput=False):
|
|||
sys.stdout.flush()
|
||||
if kb.get("multiThreadMode"):
|
||||
logging._releaseLock()
|
||||
setFormatterPrependFlag(len(data) == 1)
|
||||
setFormatterPrependFlag(len(data) == 1 and data != '\n')
|
||||
|
||||
def dataToSessionFile(data):
|
||||
if not conf.sessionFile or kb.suppressSession:
|
||||
|
@ -3174,4 +3174,5 @@ def setFormatterPrependFlag(value=True):
|
|||
Sets logging formatter flag used for signaling if newline is needed before
|
||||
the logging message itself (used in inference mode)
|
||||
"""
|
||||
|
||||
FORMATTER._prepend_flag = value
|
||||
|
|
Loading…
Reference in New Issue
Block a user