From 0809540bd7dbd5b9399348626c6845aa32210117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 23 Mar 2018 14:58:47 +0100 Subject: [PATCH] force always means "now", even when printing --- src/octoprint/util/comm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index b24fc5310..b13c2e8e4 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -911,7 +911,7 @@ class MachineCom(object): if not cmd: return False - if self.isPrinting() and not self.isSdFileSelected() and not self.job_on_hold: + if self.isPrinting() and not self.isSdFileSelected() and not self.job_on_hold and not force: try: self._command_queue.put((cmd, cmd_type, on_sent, tags), item_type=cmd_type) return True