fix 操作历史Unicode编码转中文

This commit is contained in:
thsrite
2024-04-24 10:30:27 +08:00
parent 44a33fad90
commit 948a141546
3 changed files with 6 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ class SubscribeGroup(_PluginBase):
# 插件图标
plugin_icon = "teamwork.png"
# 插件版本
plugin_version = "1.6"
plugin_version = "1.7"
# 插件作者
plugin_author = "thsrite"
# 作者主页
@@ -187,7 +187,7 @@ class SubscribeGroup(_PluginBase):
history.append({
'name': subscribe.name,
'type': f'{category}订阅自定义配置',
'type': f'二级分类自定义配置 {category}',
'content': json.dumps(category_conf),
"time": time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(time.time()))
})
@@ -639,7 +639,7 @@ class SubscribeGroup(_PluginBase):
},
{
'component': 'td',
'text': history.get("content")
'text': history.get("content").encode('utf-8').decode('unicode-escape')
}
]
} for history in historys