Only try to record recovery data if a print was ongoing
This commit is contained in:
1 parent
1ea0cf9213
commit
beb5850361
1 file changed
+2
-1
@@ -313,7 +313,8 @@ class MachineCom(object):
|
||||
self._callback.on_comm_sd_files([])
|
||||
|
||||
if self._currentFile is not None:
|
||||
self._recordFilePosition()
|
||||
if self.isBusy():
|
||||
self._recordFilePosition()
|
||||
self._currentFile.close()
|
||||
|
||||
oldState = self.getStateString()
|
||||
|
||||
Reference in new issue
Block a user