actually call the register method on plugins (#2991) [skip ci]

This commit is contained in:
Wing Lian
2025-07-31 11:13:15 -04:00
committed by GitHub
parent 09dda462ab
commit 6ec282094d

View File

@@ -159,6 +159,9 @@ def plugin_set_cfg(cfg: DictDefault):
if cfg.get("plugins"):
plugin_manager = PluginManager.get_instance()
plugin_manager.cfg = cfg
# now that we have the finalized cfg, register the plugins individually
for plugin in plugin_manager.plugins.values():
plugin.register(cfg)
def load_cfg(