forgoten brackets at rule

This commit is contained in:
Andrej Kouřil 2016-03-28 17:22:40 +02:00
parent 6e54e1d62a
commit fcbb371e56

View file

@ -85,11 +85,11 @@ local function worker(args)
bat_now.ac_status = first_line(astr .. "/online") or "N/A"
-- if rate = 0 or rate not defined skip the round
if not (rate_power and rate_power > 0) and
if not (rate_power and rate_power > 0) and
not (rate_current and rate_current > 0) and
not bat_now.status == "Full"
not (bat_now.status == "Full")
then
return
return
end
local rate_time = 0