From 8c2169eea66aab0c890edafe6a5c1f1839406a04 Mon Sep 17 00:00:00 2001 From: Marijn Kuijpers Date: Mon, 19 Feb 2024 11:05:34 +0100 Subject: [PATCH] Add screensaver option in config --- bin/xscreensaver_yubilock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xscreensaver_yubilock.py b/bin/xscreensaver_yubilock.py index 1d0339c..ac61bcc 100755 --- a/bin/xscreensaver_yubilock.py +++ b/bin/xscreensaver_yubilock.py @@ -24,7 +24,7 @@ home_dir = os.path.expanduser("~") config = ConfigParser() config.read([f"{script_dir}/config.ini", f"{home_dir}/.yubilock"]) -screensaver = config.get("HOSTCONFIG", "screensaver", fallback="xscreensaver")) +screensaver = config.get("HOSTCONFIG", "screensaver", fallback="xscreensaver") yubikey_serials = config["USERCONFIG"]["yubikey_serial"].split(',') # Convert stringlist to intlist