From 3ac6934d9fe52fd677394b570b622ff038289c7d Mon Sep 17 00:00:00 2001 From: bob8677 <68208828+bob8677@users.noreply.github.com> Date: Thu, 22 Oct 2020 15:13:35 -0500 Subject: [PATCH] Update pam.py --- src/pam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pam.py b/src/pam.py index 869ae6d..36af375 100644 --- a/src/pam.py +++ b/src/pam.py @@ -31,7 +31,7 @@ def doAuth(pamh): if any("closed" in open(f).read() for f in glob.glob("/proc/acpi/button/lid/*/state")): return pamh.PAM_AUTHINFO_UNAVAIL - # Abort if the video device does not exist + # Abort if the video device does not exist if not os.path.exists(config.get("video", "device_path")): if config.getboolean("video", "warn_no_device"): print("Camera path is not configured correctly, please edit the 'device_path' config value.")