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

Update to Ch 5: Incorrect year for January fixed at source #44

Open
mariocpinto opened this issue Apr 14, 2016 · 0 comments
Open

Update to Ch 5: Incorrect year for January fixed at source #44

mariocpinto opened this issue Apr 14, 2016 · 0 comments

Comments

@mariocpinto
Copy link

In ch.5, for the download_weather_month function, the source url now provides the correct data even when you look for data for the month of January. So one no longer needs to increment the year by 1 for January. i.e. remove:

    if month == 1:
        year += 1
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

1 participant