Merge pull request #224 from hotlcc/develop-20240422-1-插件自动升级fixbug

This commit is contained in:
jxxghp
2024-04-22 18:15:29 +08:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -527,7 +527,7 @@
"PluginAutoUpgrade": {
"name": "插件自动升级",
"description": "定时检测、升级插件。",
"version": "1.1",
"version": "1.2",
"icon": "PluginAutoUpgrade.png",
"author": "hotlcc",
"level": 1

View File

@@ -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')