state.nodes might not exist

This commit is contained in:
j 2016-03-26 17:55:12 +01:00
parent a1ea4943c5
commit 8872141032

View file

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