From 537d662691ebbead05d627d7d5c913d151fc30bc Mon Sep 17 00:00:00 2001 From: enkore Date: Mon, 14 Oct 2013 17:24:56 +0200 Subject: [PATCH] Fix required settings for weather --- i3pystatus/weather.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/i3pystatus/weather.py b/i3pystatus/weather.py index f5ad973..0af1507 100644 --- a/i3pystatus/weather.py +++ b/i3pystatus/weather.py @@ -9,6 +9,8 @@ class Weather(IntervalModule): Available formatters: {current_temp} {humidity} + + Requires pywapi from PyPI. """ interval = 20 @@ -18,7 +20,7 @@ class Weather(IntervalModule): "units", "format", ) - #required = ("location_code") + required = ("location_code",) format = "{current_temp}" def run(self):