From e33c7042d185a3c02cb19af59f438ca350e6a023 Mon Sep 17 00:00:00 2001
From: Loraine Gueguen <loraine.gueguen@sb-roscoff.fr>
Date: Thu, 20 May 2021 22:42:30 +0200
Subject: [PATCH] fix picture_path in species template

---
 templates/gspecies_compose.yml.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/gspecies_compose.yml.j2 b/templates/gspecies_compose.yml.j2
index 82bb8ee..408c93e 100644
--- a/templates/gspecies_compose.yml.j2
+++ b/templates/gspecies_compose.yml.j2
@@ -42,7 +42,7 @@ services:
             - ./banner.png:/var/www/html/banner.png:ro
             {% endif %}
             #- /groups/XXX/:/groups/XXX/:ro  # We do this when we have symlinks in src_data pointing to /groups/XXX/...
-            {% if 'picture_path' is defined and 'picture_path' != None %}
+            {% if 'picture_path' is defined and 'picture_path' %}
                 {% if 'png' in picture_path %}
             - ./species.png:/var/www/html/species.png:ro
                 {% endif %}
-- 
GitLab