slider bug fix
This commit is contained in:
parent
9a9afa3be3
commit
de622e5e8e
1 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue