From fbde12bb13aa2726b9b5ba2ca08a6b5e93cb6ece Mon Sep 17 00:00:00 2001 From: Matan Arnon Date: Thu, 30 Dec 2021 21:26:21 +0200 Subject: [PATCH] Fixed typos --- howdy/src/compare.py | 4 ++-- howdy/src/pam.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/howdy/src/compare.py b/howdy/src/compare.py index da90195..bbfc623 100644 --- a/howdy/src/compare.py +++ b/howdy/src/compare.py @@ -96,7 +96,7 @@ def send_to_ui(type, message): pass -# Make sure we were given an username to tast against +# Make sure we were given an username to test against if len(sys.argv) < 2: exit(12) @@ -272,7 +272,7 @@ while True: dark_tries += 1 continue - # If the hight is too high + # If the height is too high if scaling_factor != 1: # Apply that factor to the frame frame = cv2.resize(frame, None, fx=scaling_factor, fy=scaling_factor, interpolation=cv2.INTER_AREA) diff --git a/howdy/src/pam.py b/howdy/src/pam.py index 5dd3c5d..5e72f76 100644 --- a/howdy/src/pam.py +++ b/howdy/src/pam.py @@ -17,7 +17,7 @@ config.read(os.path.dirname(os.path.abspath(__file__)) + "/config.ini") def doAuth(pamh): """Starts authentication in a seperate process""" - # Abort is Howdy is disabled + # Abort if Howdy is disabled if config.getboolean("core", "disabled"): return pamh.PAM_AUTHINFO_UNAVAIL