diff --git a/surebet/parsing/olimp.py b/surebet/parsing/olimp.py index 361981b..7c80444 100644 --- a/surebet/parsing/olimp.py +++ b/surebet/parsing/olimp.py @@ -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):