new weather
This commit is contained in:
parent
a011662a4d
commit
4cb4cf7be2
@ -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]}'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user