This commit is contained in:
spla 2021-01-01 18:59:21 +01:00
pare 7d7ffe3370
commit eb2df2d0a8

Veure arxiu

@ -1044,9 +1044,15 @@ def close_game(username, checkmate):
row = cur.fetchone()
if row[0] != None:
if row != None:
white_rating = row[0]
if row[0] != None:
white_rating = row[0]
else:
white_rating = 1500
else:
@ -1056,9 +1062,15 @@ def close_game(username, checkmate):
row = cur.fetchone()
if row[0] != None:
if row != None:
black_rating = row[0]
if row[0] != None:
black_rating = row[0]
else:
black_rating = 1500
else: