mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
removal of deprecated piece of code (replaced later with that getCurrentThreadData().disableStdOut)
This commit is contained in:
parent
5eae525010
commit
6cc745f789
|
@ -598,7 +598,7 @@ def filePathToString(filePath):
|
|||
|
||||
def dataToStdout(data, forceOutput=False):
|
||||
if not ('threadException' in kb and kb.threadException):
|
||||
if forceOutput or (conf.verbose > 0) and not getCurrentThreadData().disableStdOut:
|
||||
if forceOutput or not getCurrentThreadData().disableStdOut:
|
||||
try:
|
||||
sys.stdout.write(data.encode(sys.stdout.encoding))
|
||||
except:
|
||||
|
|
Loading…
Reference in New Issue
Block a user