another small fix in thermal_freebsd.lua

This commit is contained in:
mutlusun 2017-01-21 13:17:19 +01:00
parent 568692b38d
commit 0bea7ffac6
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ local thermal_freebsd = {}
-- {{{ Thermal widget type -- {{{ Thermal widget type
local function worker(format, warg) local function worker(format, warg)
if not warg then return end if not warg then return end
if type(warg) ~= "table" then warg = { warg } end
local thermals = {} local thermals = {}