moonraker: don't explictly load klippy_apis in init
Instead, look up klippy_apis after all plugins are loaded. This allows the "CORE_PLUGINS" list to determine the exact order in which core plugins are loaded. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
979aef2903
commit
4abfb886f5
|
@ -105,8 +105,8 @@ class Server:
|
||||||
|
|
||||||
# Plugin initialization
|
# Plugin initialization
|
||||||
self.plugins = {}
|
self.plugins = {}
|
||||||
self.klippy_apis = self.load_plugin(config, 'klippy_apis')
|
|
||||||
self._load_plugins(config)
|
self._load_plugins(config)
|
||||||
|
self.klippy_apis = self.lookup_plugin('klippy_apis')
|
||||||
config.validate_config()
|
config.validate_config()
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
|
|
Loading…
Reference in New Issue