Browse Source

uhm..

master
Burathar 4 years ago
parent
commit
88387a4f43
  1. 2
      bin/xscreensaver_yubilock.py

2
bin/xscreensaver_yubilock.py

@ -102,7 +102,7 @@ def get_yubikey_serials() -> int:
def update_lock_state(): def update_lock_state():
if any(serial in yubikey_serials for serial in get_yubikey_serials()): if any(serial in yubikey_serials for serial in get_yubikey_serials()):
if screensaver_running() or just_woke_up(): if screensaver_running() or just_woke_up():
logger.debug('screen will be unlocked') logger.debug('screen will be unlocked')
unlock_screen() unlock_screen()
else: else:

Loading…
Cancel
Save