From 5a5ea0e0c5cc5b151306cce10a5c8cb80cfe8f65 Mon Sep 17 00:00:00 2001 From: enkore Date: Mon, 14 Oct 2013 19:09:39 +0200 Subject: [PATCH] Fix bug reported by janoliver in #21 --- i3pystatus/weather.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/i3pystatus/weather.py b/i3pystatus/weather.py index 0af1507..d53c882 100644 --- a/i3pystatus/weather.py +++ b/i3pystatus/weather.py @@ -17,10 +17,12 @@ class Weather(IntervalModule): settings = ( "location_code", - "units", + ("units", "*C*elsius or *F*ahrenheit"), "format", ) required = ("location_code",) + + units = "C" format = "{current_temp}" def run(self):