Fix' ACL's initial dictionary to allow first item assignment
This commit is contained in:
@ -33,7 +33,7 @@ class AccessControlList():
|
||||
def __init__(self):
|
||||
self.__FILE = 'Server/Data/passwd.json'
|
||||
|
||||
self.__data = {"groups": None, "files": None}
|
||||
self.__data = {"groups": {}, "files": {}}
|
||||
|
||||
self.loadFromFile()
|
||||
|
||||
|
Reference in New Issue
Block a user