moonraker: validate parsed configuration options after plugins are loaded

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2021-02-15 20:37:37 -05:00
parent 45557b8260
commit 60ba8ff1d5
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ class Server:
self.plugins = {} self.plugins = {}
self.klippy_apis = self.load_plugin(config, 'klippy_apis') self.klippy_apis = self.load_plugin(config, 'klippy_apis')
self._load_plugins(config) self._load_plugins(config)
config.validate_config()
def start(self): def start(self):
hostname, hostport = self.get_host_info() hostname, hostport = self.get_host_info()