Fix for getting game totals.
Fixed upper limit of range in get_game_totals().
This commit is contained in:
parent
3d367f6bea
commit
510dcfa9bf
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user