From 97d5505aec50a82782da09116af6f764a8c8d53f Mon Sep 17 00:00:00 2001
From: Loraine Gueguen <loraine.gueguen@sb-roscoff.fr>
Date: Tue, 4 May 2021 14:03:24 +0200
Subject: [PATCH] Fix banner

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

diff --git a/gga_init.py b/gga_init.py
index 1ce0181..fbefceb 100755
--- a/gga_init.py
+++ b/gga_init.py
@@ -62,7 +62,7 @@ class DeploySpeciesStack(speciesData.SpeciesData):
         # use the default banner instead
         if "banner_path" in self.config.keys():
             if not config["banner_path"] == "" and os.path.isfile(os.path.abspath(config["banner_path"])):
-                banner_dest_path = os.path.join(self.main_dir,"/banner.png")
+                banner_dest_path = os.path.abspath("./banner.png")
                 logging.info("Custom banner path: %s" % self.config["banner_path"])
                 if os.path.samefile(os.path.abspath(config["banner_path"]),banner_dest_path):
                     shutil.copy(os.path.abspath(self.config["banner_path"]), banner_dest_path)
-- 
GitLab