From: copycat-killer Date: Sun, 29 May 2016 16:09:58 +0000 (+0200) Subject: weather: fix indentation X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/6c40d0ffc7b154e12ce60a0ff52c5b84d142e805?ds=sidebyside;hp=--cc weather: fix indentation --- 6c40d0ffc7b154e12ce60a0ff52c5b84d142e805 diff --git a/widgets/weather.lua b/widgets/weather.lua index 37a92ff..7ff498a 100644 --- a/widgets/weather.lua +++ b/widgets/weather.lua @@ -38,7 +38,7 @@ local function worker(args) local current_call = args.current_call or "curl -s 'http://api.openweathermap.org/data/2.5/weather?id=%s&units=%s&lang=%s&APPID=%s'" local forecast_call = args.forecast_call or "curl -s 'http://api.openweathermap.org/data/2.5/forecast/daily?id=%s&units=%s&lang=%s&cnt=%s&APPID=%s'" local city_id = args.city_id or 0 -- placeholder - local utc = args.utc or 0 + local utc = args.utc or 0 local units = args.units or "metric" local lang = args.lang or "en" local cnt = args.cnt or 5