From 5cf2f9ecd792e3e2fedca8c12d1b57a9a402a964 Mon Sep 17 00:00:00 2001 From: Didi Kohen Date: Mon, 13 Dec 2021 16:21:06 +0200 Subject: [PATCH] Paused print doesn't return ready (#4336) --- AUTHORS.md | 1 + src/octoprint/printer/standard.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/AUTHORS.md b/AUTHORS.md index 55974884f..397bd03dc 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -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 diff --git a/src/octoprint/printer/standard.py b/src/octoprint/printer/standard.py index 66b55ed4f..bd19a8e75 100644 --- a/src/octoprint/printer/standard.py +++ b/src/octoprint/printer/standard.py @@ -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() )