From f3e79bcfb5053826c5ef4f472cdb36632a6cd492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 11 Jul 2017 12:56:40 +0200 Subject: [PATCH] Formatting --- pillar/api/utils/algolia.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pillar/api/utils/algolia.py b/pillar/api/utils/algolia.py index 25ccb337..7ade679f 100644 --- a/pillar/api/utils/algolia.py +++ b/pillar/api/utils/algolia.py @@ -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']: