From 9a2d9ac03907bca623868fb7b026b0bed879dc2f Mon Sep 17 00:00:00 2001 From: Xtao_dada Date: Sun, 7 Feb 2021 19:04:25 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=20apt=20?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E6=8F=92=E4=BB=B6=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagermaid/modules/plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pagermaid/modules/plugin.py b/pagermaid/modules/plugin.py index 7ba0373..9581c4c 100644 --- a/pagermaid/modules/plugin.py +++ b/pagermaid/modules/plugin.py @@ -26,6 +26,7 @@ def move_plugin(file_path): def update_version(file_path, plugin_content, plugin_name, version): + plugin_directory = f"{working_dir}/plugins/" with open(file_path, 'wb') as f: f.write(plugin_content) with open(f"{plugin_directory}version.json", 'r', encoding="utf-8") as f: