mirror of
https://github.com/open-webui/computer.git
synced 2026-11-23 06:00:43 -05:00
refac
This commit is contained in:
1 parent
acd4285dc9
commit
33cc710d10
2 files changed
+5
-2
No files matched your search
@@ -524,7 +524,7 @@ class BotManager:
|
||||
return
|
||||
|
||||
# Update bot config with new workspace
|
||||
from cptr.utils.config import Config
|
||||
from cptr.models import Config
|
||||
bots_raw = await Config.get("bots") or []
|
||||
for b in bots_raw:
|
||||
if b.get("id") == bot["id"]:
|
||||
|
||||
Reference in new issue
Block a user