enable reading place from file

This commit is contained in:
2021-11-07 19:50:40 +01:00
parent fa65df4b97
commit 6eaec938e8

View File

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