diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2010-03-14 03:37:40 +0100 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2010-03-14 03:37:40 +0100 |
commit | 4dad2e360c1c464feef9a8aaff6e96a7636c54b7 (patch) | |
tree | 03290f705cef2ec761a0a1ee46b3bc38cb08e0ea /widgets/org.lua | |
parent | 237470c8f45190b213e3a173ce6ae1a74b3e11fe (diff) | |
download | vicious-legacy-4dad2e360c1c464feef9a8aaff6e96a7636c54b7.tar.xz |
API: missing warg should not break awesome
Diffstat (limited to 'widgets/org.lua')
-rw-r--r-- | widgets/org.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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 |