mirror of
https://github.com/boltgolt/howdy.git
synced 2024-09-12 09:41:18 +02:00
That's not how you spell compare
This commit is contained in:
parent
590d488c34
commit
92a8d0a259
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
# Compair incomming video with known faces
|
||||
# Compare incomming video with known faces
|
||||
# Running in a local python instance to get around PATH issues
|
||||
|
||||
# Import required modules
|
6
pam.py
6
pam.py
|
@ -1,4 +1,4 @@
|
|||
# PAM interface in python, launches compair.py
|
||||
# PAM interface in python, launches compare.py
|
||||
|
||||
# Import required modules
|
||||
import subprocess
|
||||
|
@ -15,8 +15,8 @@ config.read(os.path.dirname(os.path.abspath(__file__)) + "/config.ini")
|
|||
def doAuth(pamh):
|
||||
"""Start authentication in a seperate process"""
|
||||
|
||||
# Run compair as python3 subprocess to circumvent python version and import issues
|
||||
status = subprocess.call(["python3", os.path.dirname(os.path.abspath(__file__)) + "/compair.py", pamh.get_user()])
|
||||
# Run compare as python3 subprocess to circumvent python version and import issues
|
||||
status = subprocess.call(["python3", os.path.dirname(os.path.abspath(__file__)) + "/compare.py", pamh.get_user()])
|
||||
|
||||
# Status 10 means we couldn't find any face models
|
||||
if status == 10:
|
||||
|
|
Loading…
Reference in a new issue