fix row generation for hidden themes table

This commit is contained in:
Sarah 2022-04-14 21:50:25 +01:00
parent 52fc8638a0
commit 14c3e2a76c

View File

@ -56,7 +56,7 @@ def build_page(hidden_themes):
row_data = [] row_data = []
row_data.append(str(date)) row_data.append(str(date))
row_data.append(VCinemaUtils.get_film_list(data['viewings'])) row_data.append(VCinemaUtils.get_film_list(data['viewings']))
row_data.append((k for k in sorted(data['hidden_themes'])) if 'hidden_themes' in data else "N/A") row_data.append(("<br>".join(k for k in sorted(data['hidden_themes']))) if 'hidden_themes' in data else "N/A")
table += " | ".join(row_data) table += " | ".join(row_data)