diff --git a/daemon/nextbox_daemon/shield.py b/daemon/nextbox_daemon/shield.py index b449a4e4..2f6a6bce 100644 --- a/daemon/nextbox_daemon/shield.py +++ b/daemon/nextbox_daemon/shield.py @@ -93,7 +93,7 @@ def set_led_state(self, state): elif state == "docker-wait": self.set_fast_blink(0, 1, 0) - shield.button.when_held = lambda: (job_queue.put("FactoryReset"), self.set_led_state("factory-reset")), + shield.button.when_held = lambda: (job_queue.put("FactoryReset"), self.set_led_state("factory-reset")) else: self.set_led(0, 1, 0)