Make conferences a top-level list

This commit is contained in:
Edward Betts 2024-01-04 15:08:12 +00:00
parent b1139b79d2
commit 5786e3d575
2 changed files with 2 additions and 5 deletions

View file

@ -52,8 +52,5 @@ def get_list(filepath: str) -> list[Event]:
url=conf.url,
going=conf.going,
)
for conf in (
Conference(**conf)
for conf in yaml.safe_load(open(filepath, "r"))["conferences"]
)
for conf in (Conference(**conf) for conf in yaml.safe_load(open(filepath, "r")))
]