cwendt94 / espn-api

ESPN Fantasy API! (Football, Basketball)
MIT License
613 stars 198 forks source link

League.previousSeasons no longer an attribute? #522

Closed Jfreundlich01 closed 9 months ago

Jfreundlich01 commented 9 months ago

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 commented 9 months ago

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

Jfreundlich01 commented 9 months ago

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