fix web ui

This commit is contained in:
HibiKier
2022-06-18 14:31:44 +08:00
parent 3b8d52bcb5
commit 5172fa69e5
3 changed files with 12 additions and 9 deletions
+2
View File
@@ -137,6 +137,8 @@ def _(plugin: Plugin, user: User = Depends(token_to_user)) -> Result:
else:
if plugin.plugin_settings:
for key, value in plugin.plugin_settings:
if key == "cmd":
value = value.split(",")
plugins2settings_manager.set_module_data(plugin.model, key, value)
if plugin.plugin_manager:
for key, value in plugin.plugin_manager: