Fix für weather.lua

(*** lua: plugins/weather.lua:23: invalid use of '%' in replacement
string)
This commit is contained in:
Akamaru 2015-11-12 19:04:57 +01:00
parent 447cb44166
commit 68305dc953
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ local function get_weather(location)
else
country = ' ('..weather.sys.country..')'
end
local temperature = string.gsub(round(weather.main.temp, 1), "%.", "%,")
local temperature = round(weather.main.temp, 1)
local temp = 'Wetter in '..city..country..':\n'..temperature..'°C'
local conditions = ' | '..weather.weather[1].description
if weather.weather[1].main == 'Clear' then