mirror of
https://github.com/boltgolt/howdy.git
synced 2024-09-19 09:51:19 +02:00
style: fixed spelling errors
This commit is contained in:
parent
84ad5ddc52
commit
494021e679
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,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 separate process"""
|
||||||
|
|
||||||
# Abort if Howdy is disabled
|
# Abort if Howdy is disabled
|
||||||
if config.getboolean("core", "disabled"):
|
if config.getboolean("core", "disabled"):
|
||||||
|
@ -103,7 +103,7 @@ def doAuth(pamh):
|
||||||
syslog.closelog()
|
syslog.closelog()
|
||||||
return pamh.PAM_SUCCESS
|
return pamh.PAM_SUCCESS
|
||||||
|
|
||||||
# Otherwise, we can't discribe what happend but it wasn't successful
|
# Otherwise, we can't describe what happened but it wasn't successful
|
||||||
pamh.conversation(pamh.Message(pamh.PAM_ERROR_MSG, "Unknown error: " + str(status)))
|
pamh.conversation(pamh.Message(pamh.PAM_ERROR_MSG, "Unknown error: " + str(status)))
|
||||||
syslog.syslog(syslog.LOG_INFO, "Failure, unknown error" + str(status))
|
syslog.syslog(syslog.LOG_INFO, "Failure, unknown error" + str(status))
|
||||||
syslog.closelog()
|
syslog.closelog()
|
||||||
|
|
Loading…
Reference in a new issue