From bcedaea36ea6d814d5cd35f81a17e647644c00d9 Mon Sep 17 00:00:00 2001 From: Didier Date: Fri, 19 Jan 2024 07:11:56 +0100 Subject: [PATCH] fix flake8 errors --- pandora-box.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandora-box.py b/pandora-box.py index f93c1a0..89bc0b6 100755 --- a/pandora-box.py +++ b/pandora-box.py @@ -682,6 +682,7 @@ def error(): display_image("ERROR") return "WAIT" + # ----------------------------------------------------------- # Wait for mouse click or enter # ----------------------------------------------------------- @@ -690,6 +691,7 @@ mouseEvent = threading.Event() enterEvent = threading.Event() mouseOrEnterCondition = threading.Condition() + def mouseClickThread(): mouse = open("/dev/input/mice", "rb") os.set_blocking(mouse.fileno(), False)