Fix errors in config files and namelist.py

This commit is contained in:
Oskar Winkels 2020-12-03 18:48:08 +01:00
parent 34734864b4
commit 0df172c455
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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