Skip to content

Commit

Permalink
fix flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Jan 19, 2024
1 parent 0eb462e commit bcedaea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pandora-box.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,7 @@ def error():
display_image("ERROR")
return "WAIT"


# -----------------------------------------------------------
# Wait for mouse click or enter
# -----------------------------------------------------------
Expand All @@ -690,6 +691,7 @@ def error():
enterEvent = threading.Event()
mouseOrEnterCondition = threading.Condition()


def mouseClickThread():
mouse = open("/dev/input/mice", "rb")
os.set_blocking(mouse.fileno(), False)
Expand Down

0 comments on commit bcedaea

Please sign in to comment.