diff --git a/plugins/weather/openweather_ b/plugins/weather/openweather_ index a7eea886..be62596c 100755 --- a/plugins/weather/openweather_ +++ b/plugins/weather/openweather_ @@ -19,6 +19,7 @@ # env.apikey XYZ query_string=$(printf '%s' "${0#*_}" | tr '_' '=') +plugin_name=$( basename $0 ) OWAPI=$( curl -s "http://api.openweathermap.org/data/2.5/weather?mode=xml&${query_string}") # API returns temp in K, we have to convert it in C @@ -30,7 +31,7 @@ CITY=$( expr "$OWAPI" : '.*\