new weather

This commit is contained in:
Miupro 2021-10-31 03:22:13 +01:00
parent a011662a4d
commit 4cb4cf7be2

View File

@ -28,7 +28,7 @@ class WeatherWrapper:
class WeatherScoreCalculator: class WeatherScoreCalculator:
def calc_weather_score(self, event): def calc_weather_score(self, event):
now = datetime.datetime.now().replace(microsecond=0).isoformat() now = datetime.datetime.now().replace(microsecond=0).isoformat() + datetime.timedelta(days=1)
location = event.location_coordinates location = event.location_coordinates
location_string = f'{location[0]}'+f','+f'{location[1]}' location_string = f'{location[0]}'+f','+f'{location[1]}'