diff options
Diffstat (limited to 'src/plugins/weather.py')
-rw-r--r-- | src/plugins/weather.py | 2 |
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: |