mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 00:32:06 +08:00
🐛 功能调用统计只统计已加载的插件
This commit is contained in:
@@ -124,6 +124,7 @@ class StatisticsManage:
|
|||||||
module2count = {x[0]: x[1] for x in data_list}
|
module2count = {x[0]: x[1] for x in data_list}
|
||||||
plugin_info = await PluginInfo.filter(
|
plugin_info = await PluginInfo.filter(
|
||||||
module__in=module2count.keys(),
|
module__in=module2count.keys(),
|
||||||
|
load_status=True,
|
||||||
plugin_type=PluginType.NORMAL,
|
plugin_type=PluginType.NORMAL,
|
||||||
).all()
|
).all()
|
||||||
x_index = []
|
x_index = []
|
||||||
|
|||||||
Reference in New Issue
Block a user