瀏覽代碼

fix a copy-paste error

Sven Czarnian 3 年之前
父節點
當前提交
b54f7dfc50
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      aman/config/Weather.py

+ 1 - 1
aman/config/Weather.py

@@ -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!')