diff options
-rw-r--r-- | weather-widget/weather.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/weather-widget/weather.lua b/weather-widget/weather.lua index 4fcdba7..4ae586b 100644 --- a/weather-widget/weather.lua +++ b/weather-widget/weather.lua @@ -393,7 +393,9 @@ local function worker(args) local function update_widget(widget, stdout, stderr) if stderr ~= '' then if not warning_shown then - show_warning(stderr) + if stderr ~= 'curl: (52) Empty reply from server' then + show_warning(stderr) + end warning_shown = true widget:is_ok(false) tooltip:add_to_object(widget) |