From c0a14e20a052047996cba40013b9fc0c51d3478f Mon Sep 17 00:00:00 2001 From: TheZeanon Date: Sun, 1 Dec 2024 12:30:46 +0100 Subject: [PATCH] Update state_notify.py --- state_notify/state_notify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state_notify/state_notify.py b/state_notify/state_notify.py index a4c3238..43d7247 100644 --- a/state_notify/state_notify.py +++ b/state_notify/state_notify.py @@ -121,7 +121,7 @@ def _check_printer_printing(self): # the currently printing file, the file size, and position across # pauses. return (self.sdcard.is_active() or - (self.sdcard.progress() and self.sdcard.file_path() + (self.sdcard.file_path() and self.sdcard.progress() > 0) )