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

Strange error when reproducing the code in API example #82

Closed
springcoil opened this issue Feb 10, 2014 · 1 comment
Closed

Strange error when reproducing the code in API example #82

springcoil opened this issue Feb 10, 2014 · 1 comment

Comments

@springcoil
Copy link

Traceback (most recent call last):
File "peadarapi.py", line 405, in
main()
File "peadarapi.py", line 385, in main
adjusted_price = cpi_data.get_adjusted_price(price, year)
File "peadarapi.py", line 131, in get_adjusted_price
current_cpi = self.year_cpi[current_year]

@econchick
Copy link
Owner

Thanks for letting me know! Fixed with 045415a - with the new year, looks like there is no CPI data for 2014.

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