Skip to content
Snippets Groups Projects

Release 2.0

Merged Loraine Gueguen requested to merge todo_release_1.1 into dev
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -63,7 +63,7 @@ class DeploySpeciesStack(speciesData.SpeciesData):
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.species_dir, os.path.abspath("banner.png"))
if not os.path.samefile(os.path.abspath(config["banner_path"]),banner_dest_path):
if not os.path.isfile(banner_dest_path) or not os.path.samefile(os.path.abspath(config["banner_path"]),banner_dest_path):
os.symlink(os.path.abspath(self.config["banner_path"]), banner_dest_path)
logging.info("Custom banner added: symlink from %s" % self.config["banner_path"])
else:
Loading