mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 21:13:51 +03:00
added a comment
This commit is contained in:
parent
c84c4d835f
commit
cbfe743bad
|
@ -610,6 +610,7 @@ def dataToStdout(data, forceOutput=False):
|
||||||
if not ('threadException' in kb and kb.threadException):
|
if not ('threadException' in kb and kb.threadException):
|
||||||
if forceOutput or not getCurrentThreadData().disableStdOut:
|
if forceOutput or not getCurrentThreadData().disableStdOut:
|
||||||
try:
|
try:
|
||||||
|
# Reference: http://bugs.python.org/issue1602
|
||||||
if IS_WIN:
|
if IS_WIN:
|
||||||
output = data.encode('ascii', errors="replace")
|
output = data.encode('ascii', errors="replace")
|
||||||
if output != data:
|
if output != data:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user