From 3f68b57eecea5463980166bab5f721c4889a578a Mon Sep 17 00:00:00 2001 From: bob8677 <68208828+bob8677@users.noreply.github.com> Date: Thu, 22 Oct 2020 14:57:26 -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 85dd88c..f7f6c55 100644 --- a/src/pam.py +++ b/src/pam.py @@ -34,7 +34,7 @@ def doAuth(pamh): # 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("Video device " + config.get("video", "device_path") + " not found") + print("Camera path is not configured correctly, please edit the 'device_path' config value.") return pamh.PAM_AUTHINFO_UNAVAIL # Set up syslog