taxitypo
This commit is contained in:
parent
79b5818cc4
commit
ca32106e2b
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class User(db.Model):
|
||||||
user = cls(id=id, peered=False, online=False)
|
user = cls(id=id, peered=False, online=False)
|
||||||
user.info = {}
|
user.info = {}
|
||||||
if state.nodes and state.nodes.local and id in state.nodes.local:
|
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.update_name()
|
||||||
user.save()
|
user.save()
|
||||||
return user
|
return user
|
||||||
|
|
Loading…
Reference in a new issue