From 56e70617a29700a230223194c97e735f7935642a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 1 Oct 2016 02:39:59 +0200 Subject: Fix Weather.wind_var MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/plugins/weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/weather.py b/src/plugins/weather.py index c173b78..1a99107 100644 --- a/src/plugins/weather.py +++ b/src/plugins/weather.py @@ -157,7 +157,7 @@ class Weather: def __wind_var(self, ob): if (len(ob) == 7) and (ob[3] == 'V'): if len(list(filter(lambda c : not ('0' <= c <= '9'), ob))) == 1: - self.wind_dir = (float(ob[:3]), float(ob[-3:])) + self.wind_var = (float(ob[:3]), float(ob[-3:])) def __temp(self, ob): if '/' in ob: -- cgit v1.2.3-70-g09d2