bat: little fixes

This commit is contained in:
luke bonham 2014-02-04 08:59:00 +01:00
parent c73b41c636
commit 5c0ce12f8e
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ local function worker(args)
bat_now.status = first_line(bstr .. "/status") or "N/A" bat_now.status = first_line(bstr .. "/status") or "N/A"
rate = tonumber(rate) rate = tonumber(rate) or 1
ratev = tonumber(ratev) ratev = tonumber(ratev)
rem = tonumber(rem) rem = tonumber(rem)
tot = tonumber(tot) tot = tonumber(tot)