Skip to content

Commit 6ec9977

Browse files
authored
fixing nil sent to curl
1 parent 7ac333c commit 6ec9977

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

widgets/gmail_all.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ local mail = {
3939
-- {{{ Gmail widget type
4040
local function worker(format, warg)
4141
-- Get info from the Gmail atom feed
42-
local f = io.popen("curl --connect-timeout 1 -m 3 -fsn " .. helpers.shellquote(feed[1]))
42+
local f = io.popen("curl --connect-timeout 1 -m 3 -fsn " .. helpers.shellquote(feed))
4343

4444
-- Could be huge don't read it all at once, info we are after is at the top
4545
local xml = f:read(2000)

0 commit comments

Comments
 (0)