mirror of https://github.com/lcpz/lain.git
make forecast timer naming consistent
This commit is contained in:
parent
ca6119899a
commit
10e71d2e46
|
@ -132,7 +132,7 @@ local function worker(args)
|
|||
weather.attach(weather.widget)
|
||||
|
||||
newtimer("weather-" .. city_id, timeout, weather.update)
|
||||
newtimer("weather_forecast" .. city_id, timeout, weather.forecast_update)
|
||||
newtimer("weather_forecast-" .. city_id, timeout, weather.forecast_update)
|
||||
|
||||
return setmetatable(weather, { __index = weather.widget })
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue