fix keyword score table generation

This commit is contained in:
Sarah 2022-04-15 17:10:09 +01:00
parent 935f1e25ca
commit 3aeb4bf8ee

View File

@ -68,7 +68,7 @@ def build_page(keyword_data, minimum_score=1.0):
row_data = []
row_data.append(str(keyword))
row_data.append(str(len(data['vcinema_films'])))
row_data.append(str(len(data['total'])))
row_data.append(str(data['total']))
row_data.append(str(round(data['score'], 3)))
table += " | ".join(row_data)