mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
Minor fix
This commit is contained in:
parent
b78b56d782
commit
6d53d8d112
|
@ -60,7 +60,7 @@ def xmlRpcServe():
|
|||
server = XMLRPCServer(cmdLineOptions.xmlRpcPort or XMLRPC_SERVER_PORT)
|
||||
def emit(self, record):
|
||||
message = stdoutencode(FORMATTER.format(record))
|
||||
sys.stdout.write("%s" % message)
|
||||
sys.stdout.write("%s\n" % message.strip('\r'))
|
||||
LOGGER_HANDLER.emit = types.MethodType(emit, LOGGER_HANDLER, type(LOGGER_HANDLER))
|
||||
sys.stdout = StringIO.StringIO()
|
||||
sys.stderr = StringIO.StringIO()
|
||||
|
|
Loading…
Reference in New Issue
Block a user