From d78fe65e2e9f42c481f9f2dfe8621a842a826db4 Mon Sep 17 00:00:00 2001
From: Loraine Gueguen <loraine.gueguen@sb-roscoff.fr>
Date: Fri, 21 May 2021 09:17:50 +0200
Subject: [PATCH] fix ENABLE_GO default value

---
 speciesData.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/speciesData.py b/speciesData.py
index 4826663..de54d78 100755
--- a/speciesData.py
+++ b/speciesData.py
@@ -49,7 +49,7 @@ class SpeciesData:
 
     def set_service_attribute(self, service, parameters_dictionary):
         parameters_dictionary_services = parameters_dictionary[constants.ORG_PARAM_SERVICES]
-        if(service in parameters_dictionary_services.keys()):
+        if(service in parameters_dictionary_services.keys() and parameters_dictionary_services[service] != ""):
             return parameters_dictionary_services[service]
         else:
             return "0"
-- 
GitLab