Skip to content

Commit d5e8fe3

Browse files
committed
late breaking bugfix
1 parent 3385761 commit d5e8fe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

octoprint_bettergrblsupport/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ def hook_gcode_sending(self, comm_instance, phase, cmd, cmd_type, gcode, *args,
727727
self.autoSleepTimer = time.time()
728728

729729
# suppress status updates if sleeping
730-
if self.grblState.upper().startswith("SLEEP"):
730+
if not self.grblState is None and self.grblState.upper().startswith("SLEEP"):
731731
self._logger.debug('Ignoring %s', cmd)
732732
return (None,)
733733

0 commit comments

Comments
 (0)