small fixes

This commit is contained in:
2021-01-17 19:05:53 +00:00
parent 163b61a630
commit df7facd7bd
5 changed files with 14 additions and 2 deletions

View File

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