Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
guyonvarch committed May 2, 2024
1 parent 9578319 commit 066bb10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/power-management/power-button-shutdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
logging.error(f'Power Button device not found')
sys.exit(1)

logging.info(f'Listenning to Power Button on device {power_off_device.path}')
logging.info(f'Listening to Power Button on device {power_off_device.path}')
for event in power_off_device.read_loop():
if event.type == evdev.ecodes.EV_KEY and evdev.ecodes.KEY[event.code] == 'KEY_POWER' and event.value:
logging.info('KEY_POWER detected on Power Button device, shutting down')
Expand Down

0 comments on commit 066bb10

Please sign in to comment.