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.previousSeasons no longer an attribute? #522

Closed
Jfreundlich01 opened this issue Dec 29, 2023 · 2 comments
Closed

League.previousSeasons no longer an attribute? #522

Jfreundlich01 opened this issue Dec 29, 2023 · 2 comments

Comments

@Jfreundlich01
Copy link

Sport

Football

Summary

Two days ago, League.previousSeasons was working perfectly. It returned a string, with a list of years in it.

I am now getting

AttributeError: 'League' object has no attribute 'previousSeasons'

When I loop through the list of attributes on the League object, previousSeason used to be after power_rankings and before recent_activity. Its now gone.

Wondering if other folks have noticed this change! Thanks!

Logs/Data

No response

@cwendt94
Copy link
Owner

Strange, that code has not changed and is set in the base_league.py

@Jfreundlich01
Copy link
Author

Welp, don't mind me. Was not in my virtual environment, so was using a previous version of the library. It is working as expected in 0.34.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants