Merge branch 'master' of git.rubenvandeven.com:r/guest_worker

This commit is contained in:
mt 2020-01-22 18:39:01 +01:00
commit 2d537e93f8

View file

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