Merge branch 'fix_storage_crash' into 'master'

fix modpol storage of old_ledgers

See merge request medlabboulder/modpol!9
This commit is contained in:
Nathan Schneider 2021-03-10 06:56:49 +00:00
commit 501ef4d354

View File

@ -137,7 +137,7 @@ local load_old_ledgers = function()
end
modpol.orgs = func()
local nn = modpol.ocutil.table_length (modpol.file_old_ledgers)
local nn = modpol.ocutil.table_length (modpol.old_ledgers)
local str = "entries"
if nn == 1 then str = "entry" end
modpol.ocutil.log (nn .. " orgs loaded from disk")