Skip to content

Commit

Permalink
Update state_notify.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeanon committed Dec 1, 2024
1 parent 93716ad commit c0a14e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state_notify/state_notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)

Expand Down

0 comments on commit c0a14e2

Please sign in to comment.