Rev3221, Revert to afterLoad execution immediately after plugins loaded to avoid problems with plugins
This commit is contained in:
parent
fe59352800
commit
6db011d807
2 changed files with 0 additions and 2 deletions
|
@ -43,7 +43,6 @@ class PluginManager:
|
||||||
if dir_name not in self.plugin_names:
|
if dir_name not in self.plugin_names:
|
||||||
self.plugin_names.append(dir_name)
|
self.plugin_names.append(dir_name)
|
||||||
|
|
||||||
def onLoaded(self):
|
|
||||||
for func in self.after_load:
|
for func in self.after_load:
|
||||||
func()
|
func()
|
||||||
|
|
||||||
|
|
|
@ -107,7 +107,6 @@ from Plugin import PluginManager
|
||||||
PluginManager.plugin_manager.loadPlugins()
|
PluginManager.plugin_manager.loadPlugins()
|
||||||
config.loadPlugins()
|
config.loadPlugins()
|
||||||
config.parse() # Parse again to add plugin configuration options
|
config.parse() # Parse again to add plugin configuration options
|
||||||
PluginManager.plugin_manager.onLoaded()
|
|
||||||
|
|
||||||
# Log current config
|
# Log current config
|
||||||
logging.debug("Config: %s" % config)
|
logging.debug("Config: %s" % config)
|
||||||
|
|
Loading…
Reference in a new issue