family: an empty context is {}, not None (#10860)

This commit is contained in:
Thomas NOËL 2016-05-09 10:14:25 +02:00
parent a19b1634ce
commit a1ac0fe712
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class FamilyInfosCell(CellBase):
raise_if_not_cached=not(context.get('synchronous')))
if response.status_code == 200:
return {'family': response.json()}
return None
return {}
def render(self, context):
self.context = context