From c65b15763b4f6c421b89bced7037dc95a4f8d264 Mon Sep 17 00:00:00 2001 From: Allen Date: Mon, 22 Apr 2024 06:40:57 +0000 Subject: [PATCH] fixbug --- package.json | 2 +- plugins/pluginautoupgrade/__init__.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index aa46d66..cbcbdad 100644 --- a/package.json +++ b/package.json @@ -527,7 +527,7 @@ "PluginAutoUpgrade": { "name": "插件自动升级", "description": "定时检测、升级插件。", - "version": "1.1", + "version": "1.2", "icon": "PluginAutoUpgrade.png", "author": "hotlcc", "level": 1 diff --git a/plugins/pluginautoupgrade/__init__.py b/plugins/pluginautoupgrade/__init__.py index 4c89db0..3649512 100644 --- a/plugins/pluginautoupgrade/__init__.py +++ b/plugins/pluginautoupgrade/__init__.py @@ -23,7 +23,7 @@ class PluginAutoUpgrade(_PluginBase): # 插件图标 plugin_icon = "PluginAutoUpgrade.png" # 插件版本 - plugin_version = "1.1" + plugin_version = "1.2" # 插件作者 plugin_author = "hotlcc" # 作者主页 @@ -256,10 +256,10 @@ class PluginAutoUpgrade(_PluginBase): 'text': item.get('plugin_name') }, { 'component': 'td', - 'text': f'v{item.get('old_plugin_version')}' + 'text': f'v{item.get("old_plugin_version")}' }, { 'component': 'td', - 'text': f'v{item.get('new_plugin_version')}' + 'text': f'v{item.get("new_plugin_version")}' }, { 'component': 'td', 'text': item.get('info')