From 2dd9a265951384979f9aa66f80537acf7cbe207e Mon Sep 17 00:00:00 2001 From: RingOV Date: Mon, 27 May 2019 10:52:57 +0300 Subject: [PATCH] Added Calm --- gis-weather.py | 2 +- utils/wind_direct_convert.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gis-weather.py b/gis-weather.py index d6e4e95..207ae7a 100644 --- a/gis-weather.py +++ b/gis-weather.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # # gis_weather.py -v = '0.8.2.83' +v = '0.8.2.84' # Copyright (C) 2013-2018 Alexander Koltsov # # This program is free software: you can redistribute it and/or modify diff --git a/utils/wind_direct_convert.py b/utils/wind_direct_convert.py index bd2778c..3ca36b3 100644 --- a/utils/wind_direct_convert.py +++ b/utils/wind_direct_convert.py @@ -14,6 +14,7 @@ def convert(deg): def convert2(d): direct = '' + if d == '0': direct = _('Calm') if d == '1': direct = _('N') if d == '2': direct = _('N')+_('E') if d == '3': direct = _('E')