diff --git a/config.ini b/config.ini index 42a6ad5..7f5ac33 100644 --- a/config.ini +++ b/config.ini @@ -7,7 +7,7 @@ db_file = db.json # List of people to be allowed, in .csv format (comma, no delimiters) # Col1: First Name(s), Col2: Last Name(s), Col3 (optional): EMail # Remove or leave empty for no check -name_file = namensliste.csv +name_file = /root/namensliste.csv # Username and password for data retrieval diff --git a/ftracker/namelist.py b/ftracker/namelist.py index 5691338..031a21f 100644 --- a/ftracker/namelist.py +++ b/ftracker/namelist.py @@ -28,7 +28,7 @@ class NameList: def __contains__(self, val): # Don't check if there's no list if self.names == None: - return true; + return True; contained = val in self.names