Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LEAGUE LOADER]: #119

Open
danmartin42 opened this issue Aug 12, 2024 · 2 comments
Open

[LEAGUE LOADER]: #119

danmartin42 opened this issue Aug 12, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@danmartin42
Copy link

League Loader

Sleeper

Summary

LeagueLoaderException: PlayoffRoundType 'None' is not supported.

We have 4 team playoffs. The first round is one week, the championship is two weeks.

League Info

922945173359845376

Error Logs

LeagueLoaderException: PlayoffRoundType 'None' is not supported.

@danmartin42 danmartin42 added the bug Something isn't working label Aug 12, 2024
@joeyagreco
Copy link
Owner

@danmartin42 could you please add the league ID/s used and optionally the script you are running that is leading to this error ?

@joeyagreco
Copy link
Owner

This works for me

from leeger.league_loader import SleeperLeagueLoader
from leeger.model.league import League

if __name__ == "__main__":
    sleeperLeagueLoader = SleeperLeagueLoader("922945173359845376", [2023])
    league: League = sleeperLeagueLoader.loadLeague()
    print(league)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants