Browse Source

Add city

master
djib 5 months ago
parent
commit
4989275968
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      weather_to_freemobile.py

+ 1
- 1
weather_to_freemobile.py View File

@@ -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