mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-16 11:42:44 +08:00
fix: missing break
This commit is contained in:
parent
fdba470e9a
commit
e8da26cb8a
|
@ -48,6 +48,8 @@ class PluginManager:
|
|||
# 按优先级倒序
|
||||
self.plugins.sort(key=lambda x: x.priority, reverse=True)
|
||||
|
||||
self.ap.logger.debug(f'优先级排序后的插件列表 {self.plugins}')
|
||||
|
||||
async def initialize_plugins(self):
|
||||
for plugin in self.plugins:
|
||||
try:
|
||||
|
|
|
@ -45,6 +45,7 @@ class SettingManager:
|
|||
for plugin_container in plugin_containers:
|
||||
if plugin_container.plugin_name == value['name']:
|
||||
plugin_container.set_from_setting_dict(value)
|
||||
break
|
||||
|
||||
self.settings.data = {
|
||||
'plugins': [
|
||||
|
|
Loading…
Reference in New Issue
Block a user