From 3d4bb0b1d330555ee78794374d726b3109b558ae Mon Sep 17 00:00:00 2001 From: Luca Capezzuto Date: Mon, 15 Mar 2021 18:43:43 +0100 Subject: [PATCH] widget.weather: remove invalid default API key; wiki updated; closes #493 --- widget/weather.lua | 2 +- wiki | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/widget/weather.lua b/widget/weather.lua index 3ad1474..24d7d73 100644 --- a/widget/weather.lua +++ b/widget/weather.lua @@ -24,7 +24,7 @@ local function factory(args) args = args or {} local weather = { widget = args.widget or wibox.widget.textbox() } - local APPID = args.APPID or "3e321f9414eaedbfab34983bda77a66e" -- lain's default + local APPID = args.APPID -- mandatory local timeout = args.timeout or 60 * 15 -- 15 min local current_call = args.current_call or "curl -s 'https://api.openweathermap.org/data/2.5/weather?id=%s&units=%s&lang=%s&APPID=%s'" local forecast_call = args.forecast_call or "curl -s 'https://api.openweathermap.org/data/2.5/forecast?id=%s&units=%s&lang=%s&APPID=%s'" diff --git a/wiki b/wiki index ddc6aa0..876a5a1 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit ddc6aa0649d4fd091c1a73784d0507feb86eaf5f +Subproject commit 876a5a1d50f0306148c55d86937fd2f1d7b174ac