Skip to content

Commit

Permalink
refresh screen refunded
Browse files Browse the repository at this point in the history
  • Loading branch information
pretrehr committed Aug 11, 2021
1 parent 17af252 commit 19bda46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sportsbetting/interface_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ def best_match_under_conditions_interface(window, values):
window["ODDS_UNDER_CONDITION"].update(odds_table(what_was_printed), visible=True)
window["RESULT_UNDER_CONDITION"].update(stakes(what_was_printed), visible=True)
window["TEXT_UNDER_CONDITION"].update(visible=True)
for i in range(5):
window["INDICATORS_UNDER_CONDITION" + str(i)].update(visible=False)
window["RESULTS_UNDER_CONDITION" + str(i)].update(visible=False)
for i, elem in enumerate(indicators(what_was_printed)):
window["INDICATORS_UNDER_CONDITION" + str(i)].update(elem[0].capitalize(),
visible=True)
Expand Down

0 comments on commit 19bda46

Please sign in to comment.