mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-21 14:29:41 +02:00
fix flake8 errors
This commit is contained in:
parent
0eb462e278
commit
bcedaea36e
1 changed files with 2 additions and 0 deletions
|
@ -682,6 +682,7 @@ def error():
|
||||||
display_image("ERROR")
|
display_image("ERROR")
|
||||||
return "WAIT"
|
return "WAIT"
|
||||||
|
|
||||||
|
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
# Wait for mouse click or enter
|
# Wait for mouse click or enter
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
|
@ -690,6 +691,7 @@ mouseEvent = threading.Event()
|
||||||
enterEvent = threading.Event()
|
enterEvent = threading.Event()
|
||||||
mouseOrEnterCondition = threading.Condition()
|
mouseOrEnterCondition = threading.Condition()
|
||||||
|
|
||||||
|
|
||||||
def mouseClickThread():
|
def mouseClickThread():
|
||||||
mouse = open("/dev/input/mice", "rb")
|
mouse = open("/dev/input/mice", "rb")
|
||||||
os.set_blocking(mouse.fileno(), False)
|
os.set_blocking(mouse.fileno(), False)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue