forgoten brackets at rule
This commit is contained in:
parent
6e54e1d62a
commit
fcbb371e56
1 changed files with 3 additions and 3 deletions
|
@ -85,9 +85,9 @@ 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
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue