forked from rDrama/rDrama
fix
parent
28e9064e28
commit
de46a6e519
|
@ -311,7 +311,7 @@ def purge_bad_games():
|
|||
for game in games:
|
||||
game_state = json.loads(game.game_state)
|
||||
|
||||
if (game_state.status != "active"):
|
||||
if (game_state['status'] != "active"):
|
||||
game.active = False
|
||||
g.db.add(game)
|
||||
|
||||
|
|
Loading…
Reference in New Issue