aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-10-01 02:39:59 +0200
committerMattias Andrée <maandree@kth.se>2016-10-01 02:39:59 +0200
commit56e70617a29700a230223194c97e735f7935642a (patch)
treebd4a1ea9d773f91949a66a6505d07d95d2edfab5 /src
parentimprove weather (diff)
downloadxpybar-56e70617a29700a230223194c97e735f7935642a.tar.gz
xpybar-56e70617a29700a230223194c97e735f7935642a.tar.bz2
xpybar-56e70617a29700a230223194c97e735f7935642a.tar.xz
Fix Weather.wind_var
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/weather.py2
1 files changed, 1 insertions, 1 deletions
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: