small fixes
This commit is contained in:
@@ -44,6 +44,7 @@ class UserManager(SaveFileMapping):
|
||||
self.from_file()
|
||||
|
||||
def from_dict(self,d):
|
||||
if not d: return
|
||||
for k in d:
|
||||
self[k]=User(**d[k])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user