diff --git a/base.py b/base.py index a2d58f2..df3a55c 100644 --- a/base.py +++ b/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)) diff --git a/plugins b/plugins index dd4b858..5983333 160000 --- a/plugins +++ b/plugins @@ -1 +1 @@ -Subproject commit dd4b8580f00103bcc76527bd716943a8f561df21 +Subproject commit 59833335c31a120feb99481be1606bd0dfecc9f4