From 4dad2e360c1c464feef9a8aaff6e96a7636c54b7 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Sun, 14 Mar 2010 03:37:40 +0100 Subject: API: missing warg should not break awesome --- widgets/org.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'widgets/org.lua') diff --git a/widgets/org.lua b/widgets/org.lua index 8764e3a..e6c622e 100644 --- a/widgets/org.lua +++ b/widgets/org.lua @@ -21,6 +21,8 @@ module("vicious.widgets.org") -- {{{ OrgMode widget type local function worker(format, warg) + if not warg then return end + -- Compute delays local today = os.time{ year=os.date("%Y"), month=os.date("%m"), day=os.date("%d") } local soon = today + 24 * 3600 * 3 -- 3 days ahead is close -- cgit v1.2.3