From d4595bb00f1365c65fddf11efd7d8d091b453482 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Fri, 7 Aug 2009 17:41:10 +0200 Subject: All worker functions are local. --- thermal.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thermal.lua') diff --git a/thermal.lua b/thermal.lua index d84d3f3..6c792e7 100644 --- a/thermal.lua +++ b/thermal.lua @@ -14,7 +14,7 @@ module("vicious.thermal") -- {{{ Thermal widget type -function worker(format, thermal_zone) +local function worker(format, thermal_zone) -- Get thermal zone local f = io.open("/proc/acpi/thermal_zone/" .. thermal_zone .. "/temperature") local line = f:read("*line") -- cgit v1.2.3