aboutsummaryrefslogtreecommitdiff
path: root/modules/weather.py
diff options
context:
space:
mode:
authorGravatar jesopo2016-03-30 19:31:23 +0100
committerGravatar jesopo2016-03-30 19:31:23 +0100
commit87af05d4b693cb7d98799b10b9e4fce33ad14a71 (patch)
tree04b7a3d2b238a5753ec8729cc6bd2f59d2814e33 /modules/weather.py
parentfixed a left over reference to event["channel"] that is now broken in to.py. (diff)
added a "hashflag" to modules to stop modules being loaded that rely on a not-present config option.
Diffstat (limited to 'modules/weather.py')
-rw-r--r--modules/weather.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/weather.py b/modules/weather.py
index 868f9fca..e3350de3 100644
--- a/modules/weather.py
+++ b/modules/weather.py
@@ -1,3 +1,5 @@
+#--require-config openweathermap-api-key
+
import Utils
URL_WEATHER = "http://api.openweathermap.org/data/2.5/weather"