From d48fe77458d7feee38b88dc535e00b0f9e95dd72 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Fri, 9 Feb 2024 07:18:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=5F=5Finit=5F=5F.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/categoryeditor/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/categoryeditor/__init__.py b/plugins/categoryeditor/__init__.py index 4397f5f..bd67ead 100644 --- a/plugins/categoryeditor/__init__.py +++ b/plugins/categoryeditor/__init__.py @@ -111,7 +111,7 @@ class CategoryEditor(_PluginBase): } ], { "enabled": False, - "content": self.default_yaml.read_text(encoding="utf-8") + "yaml_content": self.default_yaml.read_text(encoding="utf-8") } def get_page(self) -> List[dict]: