fixed process count, added lazy table length function, removed orgs now decrement org counter, orgs loaded message should now be accurate

This commit is contained in:
Luke Miller
2022-08-16 11:10:40 -04:00
parent 8d3428653c
commit 52334f409e
4 changed files with 13 additions and 2 deletions

View File

@ -99,7 +99,7 @@ local load_orgs = function()
-- setmetatable(org, modpol.orgs)
-- end
local nn = modpol.ocutil.table_length (modpol.orgs.array)
local nn = modpol.orgs.count
local str = "entries"
if nn == 1 then str = "entry" end
modpol.ocutil.log (nn .. " orgs loaded from disk")