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

Commit 4db6d9f

Browse files
authored
Merge pull request #120 from korovkinand/FilterTeamsWithEmptyNameOnOlimp
Added filter of teams with empty team names on Olimp.
2 parents 2c9aabf + a732ecb commit 4db6d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

surebet/parsing/olimp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def __init__(self, bet):
121121

122122

123123
def is_valid_team_names(first_team, second_team):
124-
return not (CORNERS_STR in first_team and CORNERS_STR in second_team)
124+
return first_team and second_team and not (CORNERS_STR in first_team and CORNERS_STR in second_team)
125125

126126

127127
def parse(source, bookmaker):

0 commit comments

Comments
 (0)