Skip to content

Assertion error when odds are not available #22

@cardchase

Description

@cardchase

When odds are not available for any event due to it being postponed or cancelled or the fact that the event is listed on the website but the odds and/or the category is not available, the odds are returned in the list as 'None' and since they are parsed as type:int and len ( )/3 and hence, returned as assertion error.
Can you please build an error handling/ignore into the bet365.py?
I have come across this issue many times and the only way to move on is to avoid the league altogether which is not the best of ways to go

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bet365bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions