Skip to content

Commit d9d6e49

Browse files
authored
🐛 fix iteration over plugin names (#21)
1 parent 9c5734d commit d9d6e49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arclet/entari/plugin/module.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def exec_module(self, module: ModuleType, config: dict[str, Any] | None = None)
285285
if config is not None:
286286
config["$path"] = key
287287
else:
288-
for k, names in EntariConfig.instance._plugin_names:
288+
for k, names in EntariConfig.instance._plugin_names.items():
289289
if key in names:
290290
config = EntariConfig.instance.plugin.get(k, {})
291291
config["$path"] = k

0 commit comments

Comments
 (0)