Closed qtpi69 closed 3 years ago
@qtpi69 I'm fairly certain it's breaking because I wasn't including the "DE" position... could you share your Sleeper league ID so I can test?
@qtpi69 I fixed the issue! Turns out it has nothing to do with DE (Sleeper actually doesn't even have DE, just DB, DL, and LB, but instead it happened when a player with multiple eligible positions (such as an IDP being eligible for both DB and LB for instance) was being started in a slot that was not their primary position.
Anyway, if you pull the latest from the main
branch, you should have the fix!
Thank you!
Description of Issue
This works fine for another league of mine that has only offensive players One league has IDPs including DL, LB, DE, and IDP Flex. When I try to run this for that league I get this error: ValueError: Player position missing! Check data!
And then the report is not created. Is there any way to fix this so that IDP can be included?
Side note: This is amazing! Thank you for making it :) Would be great if you could please help fix this problem!
Additional Information as Applicable
Fantasy Football Platform
Sleeper
Operating System
macOS
Other
Any other setup/environment/configuration information you might deem potentially relevant.