fix for no page url

This commit is contained in:
Sarah 2022-12-16 22:09:51 +00:00
parent b576800794
commit f33ff0135c
1 changed files with 2 additions and 1 deletions

View File

@ -83,7 +83,8 @@ def build_page(films_by_reference):
table = MarkdownUtils.MarkdownTable(["Referenced", "Films"])
for reference, referenced in films_by_reference.items():
reference = MarkdownUtils.generate_markdown_link(reference, referenced["url"])
if referenced["url"] is not None:
reference = MarkdownUtils.generate_markdown_link(reference, referenced["url"])
films = VCinemaUtils.get_film_list(referenced["films"])
row_data = [reference, films]