~mronetwo/example-list

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH v3] Fix latest change

Details
Message ID
<20210807182348.13735-1-ciesielskimm@purelymail.com>
DKIM signature
missing
Download raw message
Patch: +2 -2
From: MrOneTwo <ciesielskimm@gmail.com>

---
Testing again...

 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
Reply to thread Export thread (mbox)