slider bug fix

This commit is contained in:
make-ing 2016-01-15 16:41:35 +01:00
parent 9a9afa3be3
commit de622e5e8e

View file

@ -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: