uberfastman / yfpy

Python API wrapper for the Yahoo Fantasy Sports public API (supports NFL, NHL, MLB, and NBA).
https://pypi.org/project/yfpy/
GNU General Public License v3.0
163 stars 44 forks source link

Update player list with individually returned players on retry #24

Closed austinbeauch closed 2 years ago

austinbeauch commented 2 years ago

Just noticed one last thing seemed to be missing from #21, and that's updating the return list with the individually retrieved players. To be honest, I didn't run this through the full suite of tests, but since it's just one line I'm pretty confident that it works. Just a single extend after the 25 iteration for-loop.

uberfastman commented 2 years ago

Wow... all of that and I forgot to actually add them to the total players... thanks @austinbeauch 🤣