mirror of
https://github.com/gnh1201/caterpillar.git
synced 2024-11-26 07:21:46 +00:00
Update server.py
This commit is contained in:
parent
69a3c5f323
commit
9cc6bb3b08
|
@ -141,7 +141,7 @@ def conn_string(conn: socket.socket, data: bytes, addr: bytes):
|
|||
|
||||
# debugging
|
||||
logger.debug("@ " + ("%s:%s" % addr))
|
||||
logger.debug("> " + str(data))
|
||||
logger.debug("> " + data.hex(' '))
|
||||
|
||||
# JSON-RPC 2.0 request over Socket (stateful)
|
||||
if data.find(b"{") == 0 and process_jsonrpc2(data):
|
||||
|
|
Loading…
Reference in New Issue
Block a user