Skip to content

Commit

Permalink
Cleanup blink.py
Browse files Browse the repository at this point in the history
  • Loading branch information
davesteele committed Feb 22, 2024
1 parent 01f1da7 commit 85c9bde
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions comitup/blink.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,7 @@ def offval() -> str:

def can_blink() -> bool:
"""Is this a Pi with a blinkable green led?"""
if bright_path() and bright_path().exists() and trigger_path().exists():
return True

return False
return bright_path() and trigger_path():


def get_trigger() -> str:
Expand Down

0 comments on commit 85c9bde

Please sign in to comment.