From 3c52f47f46762525b6c7d071ca0e494078036bc2 Mon Sep 17 00:00:00 2001 From: Quan Guo Date: Fri, 2 Oct 2015 00:38:40 +0200 Subject: [PATCH] New timer --- helpers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.lua b/helpers.lua index 4e90e16..70ca029 100644 --- a/helpers.lua +++ b/helpers.lua @@ -8,7 +8,7 @@ local debug = require("debug") -local capi = { timer = timer } +local capi = { timer = (type(timer) == 'table' and timer or require ("gears.timer")) } local io = { open = io.open, lines = io.lines, popen = io.popen } -- 2.39.5