From d8088887e1c7585b1e85dd7bc8d850915067c709 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 28 Jan 2019 13:45:09 +0100 Subject: [PATCH] :bug: Fix bug introduced in bd58138acf --- src/octoprint/util/comm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 0af818b12..49f0c62e0 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -3590,10 +3590,10 @@ class MachineCom(object): return None, def _gcode_M108_queuing(self, cmd, gcode=None, *args, **kwargs): - self._emergency_force_send(cmd, u"Force-sending M108 to the printer", gcode=gcode, *args, **kwargs) + return self._emergency_force_send(cmd, u"Force-sending M108 to the printer", gcode=gcode, *args, **kwargs) def _gcode_M410_queuing(self, cmd, gcode=None, *args, **kwargs): - self._emergency_force_send(cmd, u"Force-sending M410 to the printer", gcode=gcode, *args, **kwargs) + return self._emergency_force_send(cmd, u"Force-sending M410 to the printer", gcode=gcode, *args, **kwargs) def _gcode_M114_queued(self, *args, **kwargs): self._reset_position_timers()