Fix for getting game totals.

Fixed upper limit of range in get_game_totals().
This commit is contained in:
Yizhe Shen 2014-02-16 19:32:28 -05:00
parent 3d367f6bea
commit 510dcfa9bf

View File

@ -333,7 +333,7 @@ def get_game_totals():
size_totals = []
total = 0
with conn:
for size in range(4, MAX_PLAYERS):
for size in range(4, MAX_PLAYERS + 1):
c.execute("SELECT size, totalgames FROM gamestats WHERE size=?", (size,))
row = c.fetchone()
if row: