~mronetwo/example-list

Fix latest change v2 REJECTED

MrOneTwo: 1
 Fix latest change

 1 files changed, 2 insertions(+), 2 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~mronetwo/example-list/patches/24246/mbox | git am -3
Learn more about email & git

[PATCH v2] Fix latest change Export this patch

From: MrOneTwo <ciesielskimm@gmail.com>

---
 main.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main.py b/main.py
index 1cf89b6..7b10e9e 100644
--- a/main.py
+++ b/main.py
@@ -141,12 +141,12 @@ def handle_record(record: Record):

        # Lets see if we want to start a leds pattern.
        if blink_thread == None:
            if any((record_a.running, record_b.running, record_c.running, record_d.running)):
            if any((record_a.running, record_b.running, record_c.running, record_d.running, record_e.running)):
                blink_thread = threading.Thread(target=blink, args=(record.id, "active_task"))
                blink_thread.start()
    else:
        record.running = False
        if not any((record_a.running, record_b.running, record_c.running, record_d.running)):
        if not any((record_a.running, record_b.running, record_c.running, record_d.running, record_e.running)):
            blink_thread_q.put("STOP")
            blink_thread.join()
            if blink_thread.is_alive():
-- 
2.32.0