cleanup of the presentation generation process
Clean up some bash scripts, that are used for the generation of the presentation. Some improvements: * Only ssh to fsmi-login if not already running on a fsmi host. * Use the defined postgresql service instead of manually specifing the host * Fix bugs that could occure when having spaces in filenames * Find the fslogo.png in the root when generating the presentation Signed-off-by: Tobias Wiese <tobias@tobiaswiese.com>
This commit is contained in:
@@ -138,7 +138,7 @@ if __name__ == "__main__":
|
||||
parser.add_argument("--send-mail", action="store_true")
|
||||
args = parser.parse_args()
|
||||
|
||||
config = yaml.full_load(open(args.config))
|
||||
config = yaml.safe_load(open(args.config))
|
||||
|
||||
if config["redeleitung"]["name"].startswith("./"):
|
||||
with open(config["redeleitung"]["name"]) as f:
|
||||
|
||||
Reference in New Issue
Block a user