add protocol parsing

This commit is contained in:
2021-03-04 21:49:52 +01:00
parent 7a8597189c
commit fb0d174dcb
5 changed files with 21 additions and 2 deletions

View File

@@ -138,6 +138,14 @@ if __name__ == "__main__":
config = yaml.full_load(open(args.config))
if config["redeleitung"]["name"].startswith("./"):
with open(config["redeleitung"]["name"]) as f:
config["redeleitung"]["name"] = f.read().strip()
if config["protokoll"]["name"].startswith("./"):
with open(config["protokoll"]["name"]) as f:
config["protokoll"]["name"] = f.read().strip()
if args.invite:
template_file = config["invite_template_file"]
elif args.presentation: