From e8bf98eb7fb4a7a7dcd15db988dc6adff64a3b08 Mon Sep 17 00:00:00 2001 From: starenka Date: Fri, 17 Feb 2017 00:21:56 +0100 Subject: [PATCH] Fix for not working gmail widget --- widgets/gmail_all.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/gmail_all.lua b/widgets/gmail_all.lua index be41894..95d8bc8 100644 --- a/widgets/gmail_all.lua +++ b/widgets/gmail_all.lua @@ -44,7 +44,7 @@ local function worker(format, warg) -- Could be huge don't read it all at once, info we are after is at the top local xml = f:read(2000) - if xml ~= nil then + if xml == nil then return mail end