Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6d53d8d

Browse files
committed
Minor fix
1 parent b78b56d commit 6d53d8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_sqlmap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def xmlRpcServe():
6060
server = XMLRPCServer(cmdLineOptions.xmlRpcPort or XMLRPC_SERVER_PORT)
6161
def emit(self, record):
6262
message = stdoutencode(FORMATTER.format(record))
63-
sys.stdout.write("%s" % message)
63+
sys.stdout.write("%s\n" % message.strip('\r'))
6464
LOGGER_HANDLER.emit = types.MethodType(emit, LOGGER_HANDLER, type(LOGGER_HANDLER))
6565
sys.stdout = StringIO.StringIO()
6666
sys.stderr = StringIO.StringIO()

0 commit comments

Comments
 (0)