From 554d206f5fbc1e04e8863b07b7e2448163857050 Mon Sep 17 00:00:00 2001 From: copycat-killer Date: Tue, 13 Oct 2015 15:32:29 +0200 Subject: [PATCH 1/1] project was added to OWM FOSS keys list; #146 --- widgets/weather.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/weather.lua b/widgets/weather.lua index 68abae9..baf82d7 100644 --- a/widgets/weather.lua +++ b/widgets/weather.lua @@ -30,7 +30,7 @@ local setmetatable = setmetatable local function worker(args) local weather = {} local args = args or {} - local APPID = args.APPID or 1 -- mandatory + local APPID = args.APPID or "3e321f9414eaedbfab34983bda77a66e" -- lain default local timeout = args.timeout or 900 -- 15 min local timeout_forecast = args.timeout or 86400 -- 24 hrs local current_call = "curl -s 'http://api.openweathermap.org/data/2.5/weather?id=%s&units=%s&lang=%s&APPID=%s'" -- 2.39.5