diff --git a/widget/weather.lua b/widget/weather.lua index afef040..9cf1ac6 100644 --- a/widget/weather.lua +++ b/widget/weather.lua @@ -67,7 +67,7 @@ local function factory(args) preset = notification_preset, text = weather.notification_text, icon = weather.icon_path, - timeout = type(seconds == "number") and seconds or notification_preset.timeout + timeout = type(seconds) == "number" and seconds or notification_preset.timeout } end diff --git a/wiki b/wiki index 877b34b..ddc6aa0 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit 877b34bf5624caee917c0d81bc553b60dbdeabe2 +Subproject commit ddc6aa0649d4fd091c1a73784d0507feb86eaf5f