We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bf0d42 commit 21de263Copy full SHA for 21de263
weather/openweathermap_org_weather.py
@@ -150,6 +150,9 @@ def __load_forecast_data_one_call(self):
150
for period in day_periods:
151
time = day_stamp + timedelta(seconds=day_periods[period])
152
153
+ if time.isoformat() in return_data:
154
+ continue
155
+
156
return_data[time.isoformat()] = {
157
"timestamp": time,
158
"temperature": float(daily["temp"][period]),
0 commit comments