1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-19 05:19:40 +02:00

fix flake8 errors

This commit is contained in:
Didier 2024-01-19 07:11:56 +01:00
parent 0eb462e278
commit bcedaea36e

View file

@ -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)