little fix

This commit is contained in:
luke bonham 2013-10-07 00:26:26 +02:00
parent 528d51fbc2
commit 88b5c74a59
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ local function worker(args)
if rate ~= nil and ratev ~= nil then if rate ~= nil and ratev ~= nil then
bat_now.watt = string.format("%.2fW", (rate * ratev) / 1e12) bat_now.watt = string.format("%.2fW", (rate * ratev) / 1e12)
else else
bat_not.watt = "N/A" bat_now.watt = "N/A"
end end
-- notifications for low and critical states -- notifications for low and critical states