From e109bf0ca612942c922c963bfed57bfc516902c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 3 Apr 2017 18:48:45 +0200 Subject: [PATCH] Fix: Make Printer.is_ready behave as advertised --- src/octoprint/printer/standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/printer/standard.py b/src/octoprint/printer/standard.py index 57dda584..53f4c9d3 100644 --- a/src/octoprint/printer/standard.py +++ b/src/octoprint/printer/standard.py @@ -561,7 +561,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): return self._comm is not None and self._comm.isError() def is_ready(self): - return self.is_operational() and not self._comm.isStreaming() + return self.is_operational() and not self.is_printing() and not self._comm.isStreaming() def is_sd_ready(self): if not settings().getBoolean(["feature", "sdSupport"]) or self._comm is None: