This commit is contained in:
Sarah 2022-12-04 14:20:49 +00:00
parent 6e182deb6e
commit 3c8afec775
1 changed files with 3 additions and 4 deletions

View File

@ -51,8 +51,8 @@ def get_films_by_reference(viewings):
films_by_reference[page_title]["keywords"].append(keyword)
else:
films_by_reference[page_title] = {"url": page_url,
"keywords": [keyword],
"films": [viewing]}
"keywords": [keyword],
"films": [viewing]}
return films_by_reference
@ -73,10 +73,9 @@ def build_page(films_by_reference):
row_data = []
reference_url = referenced["url"]
reference_title = reference
referenced_films = referenced["films"]
row_data.append(VCinemaUtils.generate_markdown_link(reference_title, reference_url))
row_data.append(VCinemaUtils.generate_markdown_link(reference, reference_url))
row_data.append(VCinemaUtils.get_film_list(referenced_films))
table += " | ".join(row_data)