🐛 修复某些情况下的错误

This commit is contained in:
KimigaiiWuyi 2025-04-10 01:27:24 +08:00
parent bfa2c7e00c
commit 80507ebb5a
2 changed files with 4 additions and 1378 deletions

View File

@ -220,9 +220,13 @@ async def get_global_val(
all_bot_self_id[bot_id].append(bot_self_id)
for bot_id_path in global_val_path.iterdir():
if not bot_id_path.is_dir():
continue
if bot_id_path.name not in all_bot_self_id:
all_bot_self_id[bot_id_path.name] = []
for bot_self_id_path in bot_id_path.iterdir():
if not bot_id_path.is_dir():
continue
if (
bot_self_id_path.name
not in all_bot_self_id[bot_id_path.name]

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 96 KiB