From 8f8d292dab117d48ae66652beffc99853930a47f Mon Sep 17 00:00:00 2001 From: John Richard <67693593+JohnRichard4096@users.noreply.github.com> Date: Thu, 23 Oct 2025 23:01:23 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20nodelib.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/nonebot_plugin_liteperm/nodelib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nonebot_plugin_liteperm/nodelib.py b/src/nonebot_plugin_liteperm/nodelib.py index 7d2459b..946e1c8 100644 --- a/src/nonebot_plugin_liteperm/nodelib.py +++ b/src/nonebot_plugin_liteperm/nodelib.py @@ -16,6 +16,8 @@ def __init__( if permissions_data is None: permissions_data = {} self.permissions_data = permissions_data + self.node_dict = {} + self.__dump() def __str__(self): return json.dumps(self.permissions_data) From 5e37f93f88c5a56921e03cc454b74d02eb02584e Mon Sep 17 00:00:00 2001 From: John Richard <67693593+JohnRichard4096@users.noreply.github.com> Date: Thu, 23 Oct 2025 23:01:58 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20pyproject.toml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e53cfa4..e49e7cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nonebot_plugin_liteperm" -version = "0.1.0" +version = "0.1.1" description = "基于权限节点/权限组/特殊权限的Nonebot权限管理插件。" authors = [ { name = "JohnRichard4096", email = "windowserror@163.com" },