Skip to content
Snippets Groups Projects
Commit 97d5505a authored by Loraine Gueguen's avatar Loraine Gueguen
Browse files

Fix banner

parent f5ab8abe
No related branches found
No related tags found
2 merge requests!9Release 2.0 (merge dev to master),!6Todo release 1.1
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment