From 3400094881db6987d10009fb76f70e381c5095e6 Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Mon, 9 Jan 2023 07:11:33 -0500 Subject: [PATCH] klippy_connection: minor change to is_ready() method Use attribute to check the condition rather than the property. Signed-off-by: Eric Callahan --- moonraker/klippy_connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonraker/klippy_connection.py b/moonraker/klippy_connection.py index b46e81b..a71da16 100644 --- a/moonraker/klippy_connection.py +++ b/moonraker/klippy_connection.py @@ -552,7 +552,7 @@ class KlippyConnection: return self.writer is not None and not self.closing def is_ready(self) -> bool: - return self.state == "ready" + return self._state == "ready" def is_printing(self) -> bool: if not self.is_ready():