displayed rank should start with 1 not 0

This commit is contained in:
2020-09-27 10:53:44 +02:00
parent 85192bb1d5
commit f4ecea7c7f

View File

@@ -69,6 +69,9 @@ def player():
yMin, yMax = prettifyMinMaxY(minRating, maxRating)
# change displayed rank to start from 1 :)
player.rank += 1
return flask.render_template("player.html", player=player, CSV_RATINGS=",".join(csv_ratings),
CSV_MONTH_YEAR_OF_RATINGS=",".join(csv_month_year),
Y_MIN=yMin, Y_MAX=yMax)