From 32d620ccf3a3f87ec8c6a15c0a59bac2dcb9ec7c Mon Sep 17 00:00:00 2001 From: kaliko Date: Wed, 31 May 2017 11:25:16 +0200 Subject: [PATCH] Revert switch to metric system 7e0a33e4 --- plugins/weather/openweather_ | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/plugins/weather/openweather_ b/plugins/weather/openweather_ index 1c84d826..ea232028 100755 --- a/plugins/weather/openweather_ +++ b/plugins/weather/openweather_ @@ -19,10 +19,11 @@ # env.apikey XYZ location=$(printf '%s' "${0#*_}" | tr '_' '=') -query_string="${location}&appid=${apikey}&units=metric" +query_string="${location}&appid=${apikey}" plugin_name=$( basename $0 ) OWAPI=$( curl -s "http://api.openweathermap.org/data/2.5/weather?mode=xml&${query_string}") +KELVIN_BIAS=273 CITY=$( expr "$OWAPI" : '.*\