Skip to content
Snippets Groups Projects

Patch 2.0.1

Merged Loraine Gueguen requested to merge dev into master
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
+ 2
0
@@ -67,6 +67,8 @@ class DeploySpeciesStack(speciesData.SpeciesData):
if not os.path.isfile(banner_dest_path) and not os.path.islink(banner_dest_path):
os.symlink(os.path.abspath(self.config[constants.CONF_TRIPAL_BANNER_PATH]), banner_dest_path)
logging.info("Custom banner added: symlink from %s" % self.config[constants.CONF_TRIPAL_BANNER_PATH])
else:
logging.info("Banner already exists at %s. The banner defined in config is not added." % banner_dest_path)
else:
logging.debug("Using default banner for Tripal pages because %s is not valid in 'config' file" % constants.CONF_TRIPAL_BANNER_PATH)
self.config.pop(constants.CONF_TRIPAL_BANNER_PATH, None)
Loading