Correct language parameter being ignored

This commit is contained in:
2019-08-26 01:09:58 +02:00
parent 902a1e5257
commit 3e799dcef7

2
weather_to_freemobile.py Normal file → Executable file
View File

@ -38,7 +38,7 @@ class WeatherToFreemobile():
"""
city = self.config['openweathermap_city']
apikey = self.config['openweathermap_apikey']
apilanguage = self.config['openweathermap_apikey']
apilanguage = self.config['openweathermap_language']
logging.info('Opening OpenWeatherMap API')
owm = pyowm.OWM(apikey,language=apilanguage)