From 4630cc8ee005727ce0963e8e0a1646bdabe1b4b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 12 Jun 2018 13:47:52 +0200 Subject: [PATCH] Fix restart button --- 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 a92926d07..2ec7174ec 100644 --- a/src/octoprint/printer/standard.py +++ b/src/octoprint/printer/standard.py @@ -738,7 +738,7 @@ class Printer(PrinterInterface, return self._protocol is not None and self._protocol.state == ProtocolState.DISCONNECTED_WITH_ERROR def is_ready(self, *args, **kwargs): - return self.is_operational() and not self._protocol.state in (ProtocolState.PROCESSING, ProtocolState.PAUSED) + return self.is_operational() and not self._protocol.state in ProtocolState.PROCESSING_STATES def is_sd_ready(self, *args, **kwargs): if not settings().getBoolean(["feature", "sdSupport"]) or self._protocol is None: