Correct language parameter being ignored
This commit is contained in:
1 parent
902a1e5257
commit
3e799dcef7
1 file changed
+1
-1
Regular → Executable
+1
-1
@@ -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