Skip to content

Commit

Permalink
fix display combined odds
Browse files Browse the repository at this point in the history
  • Loading branch information
pretrehr committed Aug 12, 2021
1 parent 18e5965 commit a21b425
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sportsbetting/interface_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ def odds_table_combine(result):
table = []
combinaisons = []
for line in result.split("freebets):\n")[1].split("\n")[3::2]:
if "│" not in line:
break
if line:
combinaisons.append(line.split("│")[1].strip())
combinaisons = ["Combinaison"] + combinaisons
Expand Down

0 comments on commit a21b425

Please sign in to comment.