Refactor icons directory

This commit is contained in:
nemunaire 2024-05-09 10:53:28 +02:00
commit 4b80ff19dc
229 changed files with 11 additions and 11 deletions

View file

@ -177,7 +177,7 @@ class WeatherAPI:
def get_forecast(self, *args, **kwargs):
for i in [0, 1, 2, 3]:
enddt = datetime.now() + timedelta(days=i)
v = self.get_weather(*args, **kwargs, dt=enddt.strftime("%Y-%m-%d"))["forecast"]["forecastday"][0]
v = self.get_weather(*args, **kwargs, dt=enddt.strftime("%Y-%m-%d"), alerts="yes")["forecast"]["forecastday"][0]
v["day"]["date"] = enddt
yield v