klippy_connection: store klipper source path and python path

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan
2024-07-20 13:56:01 -04:00
parent 484551e5bf
commit 9097cfcce7
2 changed files with 41 additions and 4 deletions

View File

@@ -260,6 +260,10 @@ class Server:
cfg_sections = set([s.split()[0] for s in config.sections()])
cfg_sections.remove('server')
# load database to initialize saved state
self.load_component(config, "database")
self.klippy_connection.load_saved_state()
# load core components
for component in CORE_COMPONENTS:
self.load_component(config, component)