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