fix: type

This commit is contained in:
LIghtJUNction
2026-03-30 18:03:02 +08:00
parent 4ca8bc7bbc
commit 54f6916172

View File

@@ -114,7 +114,7 @@ class AstrBotConfigManager:
scope_id="global",
)
random_word = abconf_name or uuid.uuid4().hex[:8]
abconf_data[abconf_id] = {
abconf_data[abconf_id] = { # type: ignore[index]
"path": abconf_path,
"name": random_word,
}