forked from MarseyWorld/MarseyWorld
flush before game query
parent
11b391c437
commit
fe7f0316f7
|
@ -48,6 +48,7 @@ def save_game_state(game, new_state):
|
|||
|
||||
|
||||
def get_active_game(gambler):
|
||||
g.db.flush()
|
||||
game = g.db.query(Casino_Game) \
|
||||
.filter(Casino_Game.active == True,
|
||||
Casino_Game.kind == 'blackjack',
|
||||
|
|
Loading…
Reference in New Issue