mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 00:03:45 +08:00
fix athena calls that do not use params
old-commit-hash: b88ca985d673dfec1b2e4e61ad06bc4caf5fddd1
This commit is contained in:
@@ -77,7 +77,7 @@ def jsonrpc_handler(end_event):
|
||||
while not end_event.is_set():
|
||||
try:
|
||||
data = recv_queue.get(timeout=1)
|
||||
if "method" in data and "params" in data:
|
||||
if "method" in data:
|
||||
response = JSONRPCResponseManager.handle(data, dispatcher)
|
||||
send_queue.put_nowait(response.json)
|
||||
elif "result" in data and "id" in data:
|
||||
|
||||
Reference in New Issue
Block a user