mirror of
https://github.com/boltgolt/howdy.git
synced 2024-09-19 09:51:19 +02:00
Fixed typos
This commit is contained in:
parent
43995beacd
commit
fbde12bb13
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue