Bridzik.get_status fix

This commit is contained in:
Jakub Senderák
2020-04-20 15:23:04 +02:00
parent 93f98aa3cf
commit 3187c42678
+1 -1
View File
@@ -106,7 +106,7 @@ class Bridzik():
status['active_round_guesses'] = last_series.get_last_round().guesses status['active_round_guesses'] = last_series.get_last_round().guesses
status['player_cards'] = last_series.get_last_round().player_cards[player] status['player_cards'] = last_series.get_last_round().player_cards[player]
if last_series.get_last_round().is_guessing_completed(): if last_series.get_last_round().is_guessing_completed():
status['active_round_stashes'] = last_series status['active_round_stashes'] = last_series.get_last_round().get_stashes_winner_summary()
status['active_stash'] = { status['active_stash'] = {
'first_player': last_series.get_last_round().get_last_stash().first_player, 'first_player': last_series.get_last_round().get_last_stash().first_player,
'cards': last_series.get_last_round().get_last_stash().get_cards() 'cards': last_series.get_last_round().get_last_stash().get_cards()