diff --git a/compair.py b/compare.py similarity index 97% rename from compair.py rename to compare.py index fb40905..8d0e33f 100644 --- a/compair.py +++ b/compare.py @@ -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 diff --git a/pam.py b/pam.py index 49bcd35..bd6cf06 100644 --- a/pam.py +++ b/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: