From a96640582b4639729f77c18f7fd01b98e6544621 Mon Sep 17 00:00:00 2001 From: Markus Meissner Date: Sun, 16 Jan 2022 16:52:30 +0100 Subject: [PATCH] typo --- daemon/nextbox_daemon/shield.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)