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
|
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:
|
if len(sys.argv) < 2:
|
||||||
exit(12)
|
exit(12)
|
||||||
|
|
||||||
|
@ -272,7 +272,7 @@ while True:
|
||||||
dark_tries += 1
|
dark_tries += 1
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# If the hight is too high
|
# If the height is too high
|
||||||
if scaling_factor != 1:
|
if scaling_factor != 1:
|
||||||
# Apply that factor to the frame
|
# Apply that factor to the frame
|
||||||
frame = cv2.resize(frame, None, fx=scaling_factor, fy=scaling_factor, interpolation=cv2.INTER_AREA)
|
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):
|
def doAuth(pamh):
|
||||||
"""Starts authentication in a seperate process"""
|
"""Starts authentication in a seperate process"""
|
||||||
|
|
||||||
# Abort is Howdy is disabled
|
# Abort if Howdy is disabled
|
||||||
if config.getboolean("core", "disabled"):
|
if config.getboolean("core", "disabled"):
|
||||||
return pamh.PAM_AUTHINFO_UNAVAIL
|
return pamh.PAM_AUTHINFO_UNAVAIL
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue