Skip to content
This repository has been archived by the owner on May 19, 2019. It is now read-only.

Commit

Permalink
Added filter of teams with empty team names on Olimp.
Browse files Browse the repository at this point in the history
  • Loading branch information
machulan committed Feb 27, 2018
1 parent 2c9aabf commit a732ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion surebet/parsing/olimp.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def __init__(self, bet):


def is_valid_team_names(first_team, second_team):
return not (CORNERS_STR in first_team and CORNERS_STR in second_team)
return first_team and second_team and not (CORNERS_STR in first_team and CORNERS_STR in second_team)


def parse(source, bookmaker):
Expand Down

0 comments on commit a732ecb

Please sign in to comment.