Fix errors in config files and namelist.py
This commit is contained in:
parent
34734864b4
commit
0df172c455
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user