fix a copy-paste error
This commit is contained in:
1 parent
2687f543ad
commit
b54f7dfc50
1 file changed
+1
-1
@@ -12,7 +12,7 @@ class Weather():
|
||||
# search the required sections
|
||||
for key in config:
|
||||
if 'provider' == key:
|
||||
self.Provider = config['address']
|
||||
self.Provider = config['provider']
|
||||
|
||||
if self.Provider is None:
|
||||
sys.stderr.write('No weather-provider configuration found!')
|
||||
|
||||
Reference in new issue
Block a user