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:
parent
0eb462e278
commit
bcedaea36e
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue