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" : '.*\