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']
|
city = self.config['openweathermap_city']
|
||||||
apikey = self.config['openweathermap_apikey']
|
apikey = self.config['openweathermap_apikey']
|
||||||
apilanguage = self.config['openweathermap_apikey']
|
apilanguage = self.config['openweathermap_language']
|
||||||
|
|
||||||
logging.info('Opening OpenWeatherMap API')
|
logging.info('Opening OpenWeatherMap API')
|
||||||
owm = pyowm.OWM(apikey,language=apilanguage)
|
owm = pyowm.OWM(apikey,language=apilanguage)
|
||||||
|
Reference in New Issue
Block a user