mirror of
https://github.com/gnh1201/caterpillar.git
synced 2024-11-26 07:21:46 +00:00
Fix bugs
This commit is contained in:
parent
965423addb
commit
3af8879adb
2
base.py
2
base.py
|
@ -48,7 +48,7 @@ def jsonrpc2_create_id(data):
|
|||
def jsonrpc2_encode(method, params=None):
|
||||
data = {"jsonrpc": "2.0", "method": method, "params": params}
|
||||
id = jsonrpc2_create_id(data)
|
||||
id = data.get("id")
|
||||
data["id"] = id
|
||||
return (id, json.dumps(data))
|
||||
|
||||
|
||||
|
|
2
plugins
2
plugins
|
@ -1 +1 @@
|
|||
Subproject commit dd4b8580f00103bcc76527bd716943a8f561df21
|
||||
Subproject commit 59833335c31a120feb99481be1606bd0dfecc9f4
|
Loading…
Reference in New Issue
Block a user