Just had issues with my server which had a UTC localtime instead of Montreal Timezone. (when running the script from 19:00 to 24:00, it crashed because the day given was not arrived)
The weather data is empty for the last 3 days on the hydro quebec web site for me. Since it's not the most important value given by the program, i removed the crash due to it and fill the array with None values.
Just had issues with my server which had a UTC localtime instead of Montreal Timezone. (when running the script from 19:00 to 24:00, it crashed because the day given was not arrived)
The weather data is empty for the last 3 days on the hydro quebec web site for me. Since it's not the most important value given by the program, i removed the crash due to it and fill the array with None values.