From 23a7f967c4798d1c253037de7eb33d33701e0603 Mon Sep 17 00:00:00 2001 From: Miupro Date: Sun, 31 Oct 2021 03:30:27 +0100 Subject: [PATCH] Update weather.py --- apis/weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/weather.py b/apis/weather.py index 13ef76e..15d4ee2 100644 --- a/apis/weather.py +++ b/apis/weather.py @@ -28,7 +28,7 @@ class WeatherWrapper: class WeatherScoreCalculator: def calc_weather_score(self, event): - now = datetime.datetime.now().replace(microsecond=0).isoformat() + datetime.timedelta(days=1) + now = (datetime.datetime.now().replace(microsecond=0) + datetime.timedelta(days=1)).isoformat() location = event.location_coordinates location_string = f'{location[0]}'+f','+f'{location[1]}'