mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-08 21:51:29 +00:00
removal of deprecated piece of code (replaced later with that getCurrentThreadData().disableStdOut)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user