klippy_connection: fix bug during initialization
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
babfba1686
commit
0164bb239e
|
@ -288,7 +288,7 @@ class KlippyConnection:
|
||||||
self.init_list.append("gcode_output_sub")
|
self.init_list.append("gcode_output_sub")
|
||||||
if "startup_complete" not in self.init_list:
|
if "startup_complete" not in self.init_list:
|
||||||
await self._check_ready()
|
await self._check_ready()
|
||||||
if len(self.init_list) == 4:
|
if len(self.init_list) == 5:
|
||||||
logging.debug("Klippy Connection Initialized")
|
logging.debug("Klippy Connection Initialized")
|
||||||
return True
|
return True
|
||||||
elif not self.is_connected():
|
elif not self.is_connected():
|
||||||
|
|
Loading…
Reference in New Issue