Update to Ch 5: Incorrect year for January fixed at source
mariocpinto opened this issue · comments
Mario Pinto commented
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