[weather-widget] remove trailing comma

This commit is contained in:
streetturtle 2020-07-14 10:52:28 -04:00
parent 50fbb55299
commit 3e189049e1
1 changed files with 1 additions and 2 deletions

View File

@ -451,11 +451,10 @@ local function worker(args)
end
end)))
-- watch('cat /home/pmakhov/.config/awesome/awesome-wm-widgets/weather-widget/weather.json', 5, update_widget, weather_widget)
watch(
string.format(GET_FORECAST_CMD, owm_one_cal_api),
120, -- API limit is 1k req/day; day has 1440 min; every 2 min is good
update_widget, weather_widget,
update_widget, weather_widget
)
return weather_widget