On enlève un print

This commit is contained in:
Tom Hubrecht 2021-04-05 00:18:40 +02:00
parent 03ab81619b
commit 43574503a6

View file

@ -247,7 +247,7 @@ class ResultsData:
for d in duels: for d in duels:
i, j = options.index(d.winner), options.index(d.loser) i, j = options.index(d.winner), options.index(d.loser)
matrix[i, j] = d.amount matrix[i, j] = d.amount
print(matrix)
return render_to_string( return render_to_string(
"elections/results/rank.html", "elections/results/rank.html",
{"q": question, "matrix": matrix, "range": range(1, n + 1)}, {"q": question, "matrix": matrix, "range": range(1, n + 1)},