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

KeyError: 'tradeDeadline' in leagues with no trade deadline #22

Open
winkeee opened this issue Jul 27, 2017 · 5 comments
Open

KeyError: 'tradeDeadline' in leagues with no trade deadline #22

winkeee opened this issue Jul 27, 2017 · 5 comments
Assignees

Comments

@winkeee
Copy link

winkeee commented Jul 27, 2017

Able to load a year when there was a trade deadline.
Unable to load a year when there was no trade deadline.
Receive the following error "KeyError: 'tradeDeadline'"

@rbarton65 rbarton65 self-assigned this Jul 27, 2017
@rbarton65
Copy link
Owner

I was able to recreate the issue with my test data. Looking into this.

@rbarton65
Copy link
Owner

Close to a solution, should have it in a couple more days.

@andrewwlu
Copy link

I'm getting the same problem still. Any solutions? Thanks!

Traceback (most recent call last):...
line 189, in init
self.trade_deadline = data['leaguesettings']['tradeDeadline']
KeyError: 'tradeDeadline'

@nickk752
Copy link

nickk752 commented Sep 6, 2017

Same problem here, any fix yet?

@augieschwer
Copy link

👍

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

5 participants