compost_control.lua: made storage feature optional
This commit is contained in:
parent
fe3f75cf0b
commit
283df296c5
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ function move_all (src, dest)
|
||||||
end
|
end
|
||||||
|
|
||||||
while true do
|
while true do
|
||||||
move_all(COMPOST_OUTPUT, STORAGE)
|
if STORAGE ~= "" then move_all(COMPOST_OUTPUT, STORAGE) end
|
||||||
for _, source in ipairs(SOURCES) do
|
for _, source in ipairs(SOURCES) do
|
||||||
local totals = tally_up(source)
|
local totals = tally_up(source)
|
||||||
local diffs = compare_counts(totals, CHECKS)
|
local diffs = compare_counts(totals, CHECKS)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue