mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 13:03:50 +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()
|
sys.stdout.flush()
|
||||||
if kb.get("multiThreadMode"):
|
if kb.get("multiThreadMode"):
|
||||||
logging._releaseLock()
|
logging._releaseLock()
|
||||||
setFormatterPrependFlag(len(data) == 1)
|
setFormatterPrependFlag(len(data) == 1 and data != '\n')
|
||||||
|
|
||||||
def dataToSessionFile(data):
|
def dataToSessionFile(data):
|
||||||
if not conf.sessionFile or kb.suppressSession:
|
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
|
Sets logging formatter flag used for signaling if newline is needed before
|
||||||
the logging message itself (used in inference mode)
|
the logging message itself (used in inference mode)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
FORMATTER._prepend_flag = value
|
FORMATTER._prepend_flag = value
|
||||||
|
|
Loading…
Reference in New Issue
Block a user