state.nodes might not exist
This commit is contained in:
parent
a1ea4943c5
commit
8872141032
1 changed files with 2 additions and 1 deletions
|
@ -615,4 +615,5 @@ def add_local_info(data):
|
|||
u.update_name()
|
||||
u.info['local'] = data
|
||||
u.save()
|
||||
if state.nodes:
|
||||
state.nodes.queue('add', u.id)
|
||||
|
|
Loading…
Reference in a new issue