Correct language parameter being ignored
This commit is contained in:
2
weather_to_freemobile.py
Normal file → Executable file
2
weather_to_freemobile.py
Normal file → Executable 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)
|
||||
|
Reference in New Issue
Block a user