Formatting

This commit is contained in:
Sybren A. Stüvel 2017-07-11 12:56:40 +02:00
parent b04abef20f
commit f3e79bcfb5

View File

@ -80,7 +80,8 @@ def algolia_index_node_save(node):
if item['size'] == 't'), None)
if variation_t:
node_ob['picture'] = generate_link(picture['backend'],
variation_t['file_path'], project_id=str(picture['project']),
variation_t['file_path'],
project_id=str(picture['project']),
is_public=True)
# If the node has world permissions, compute the Free permission
if 'permissions' in node and 'world' in node['permissions']: