diff --git a/gga_init.py b/gga_init.py index 1ce0181edeee56564d581ab21b8b1cae9f733352..fbefcebd1c2ce145db1270455cb8518ce3dd47a9 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)