From 3af8879adb17eae90b961cd186e49bc9f703da5c Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Fri, 25 Oct 2024 15:27:45 +0900 Subject: [PATCH] Fix bugs --- base.py | 2 +- plugins | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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