🐛 treat pausing as paused for resume handling

See MarlinFirmware/Marlin#13039 and #2955
This commit is contained in:
Gina Häußge committed 2019-02-11 18:21:32 +01:00
1 parent e67f72ce3d
commit c6b4eee437
1 file changed
+1 -1
+1 -1
View File
@@ -1295,7 +1295,7 @@ class MachineCom(object):
tags = set()
with self._jobLock:
if not pause and self.isPaused():
if not pause and self._state in (self.STATE_PAUSED, self.STATE_PAUSING):
if self._pauseWaitStartTime:
self._pauseWaitTimeLost = self._pauseWaitTimeLost + (time.time() - self._pauseWaitStartTime)
self._pauseWaitStartTime = None