Browse Source

Add city

master
djib 3 years ago
parent
commit
4989275968
  1. 2
      weather_to_freemobile.py

2
weather_to_freemobile.py

@ -59,7 +59,7 @@ class WeatherToFreemobile():
fc = self.owm.daily_forecast(city, limit=number_of_days+1)
f = fc.get_forecast()
return_message = []
return_message = ["{} :".format(city)]
for weather in f:
weather_date = weather.get_reference_time('date')
date_diff = weather_date.date() - datetime.date.today()

Loading…
Cancel
Save