diff --git a/src/octoprint/util/comm_acc2.py b/src/octoprint/util/comm_acc2.py index 2ad4a3be..39a0318a 100644 --- a/src/octoprint/util/comm_acc2.py +++ b/src/octoprint/util/comm_acc2.py @@ -213,9 +213,10 @@ class MachineCom(object): self._errorValue = get_exception_string() self.close(True) else: + cmd, _, _ = self._process_command_phase("sending", cmd) self._log("Send: %s" % cmd) try: - self._cmd, _, _ = self._process_command_phase("sending", self._cmd) + self._serial.write(cmd) self._process_command_phase("sent", cmd) except serial.SerialException: