Paused print doesn't return ready (#4336)

This commit is contained in:
Didi Kohen authored and GitHub committed 2021-12-13 15:21:06 +01:00
1 parent d3d407e000
commit 5cf2f9ecd7
2 files changed
+3 -1

No files matched your search

+1
View File
@@ -157,6 +157,7 @@ date of first contribution):
* [Christian Würthner](https://github.com/crysxd)
* [Maciej Urbański](https://github.com/rooterkyberian)
* [Adam Wolf](https://github.com/adamwolf)
* [Didi Kohen](https://github.com/kohend)
OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by
[Daid Braam](https://github.com/daid). Parts of its communication layer and
+2 -1
View File
@@ -921,7 +921,8 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback):
def is_ready(self, *args, **kwargs):
return (
self.is_operational()
and not self.is_printing()
and not self._comm.isBusy()
# isBusy is true when paused
and not self._comm.isStreaming()
)