This commit is contained in:
j 2019-02-01 12:56:26 +05:30
parent 79b5818cc4
commit ca32106e2b
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class User(db.Model):
user = cls(id=id, peered=False, online=False)
user.info = {}
if state.nodes and state.nodes.local and id in state.nodes.local:
user.info['username'] = state.nodes.localo[id]['username']
user.info['username'] = state.nodes.local[id]['username']
user.update_name()
user.save()
return user