Restarting machine check properly re-enables endstop check

CURA-1385
This commit is contained in:
Jaime van Kessel 2016-07-07 13:43:45 +02:00
parent 2ba2599d6b
commit 3d1bbeca38
2 changed files with 8 additions and 5 deletions

View file

@ -157,7 +157,7 @@ class UMOCheckupMachineAction(MachineAction):
self._output_device.bedTemperatureChanged.connect(self._onBedTemperatureChanged)
self._output_device.hotendTemperaturesChanged.connect(self._onHotendTemperatureChanged)
self._output_device.endstopStateChanged.connect(self._onEndstopStateChanged)
except AttributeError: # Connection is probably not a USB connection. Something went pretty wrong if this happens.
except AttributeError as e: # Connection is probably not a USB connection. Something went pretty wrong if this happens.
pass
@pyqtSlot()