Disable light on abandon
This commit is contained in:
parent
e570a2e9f7
commit
74f6ff55a3
1 changed files with 1 additions and 0 deletions
|
@ -306,6 +306,7 @@ class CentralManagement():
|
||||||
a.abandoned_at = datetime.datetime.utcnow()
|
a.abandoned_at = datetime.datetime.utcnow()
|
||||||
self.store.saveAssignment(a)
|
self.store.saveAssignment(a)
|
||||||
self.plotter.park()
|
self.plotter.park()
|
||||||
|
self.setLight(False)
|
||||||
elif signal.name == 'assignment.submit':
|
elif signal.name == 'assignment.submit':
|
||||||
a = self.currentHit.getLastAssignment()
|
a = self.currentHit.getLastAssignment()
|
||||||
if a.assignment_id != signal.params['assignment_id']:
|
if a.assignment_id != signal.params['assignment_id']:
|
||||||
|
|
Loading…
Reference in a new issue