Jelajahi Sumber

Merge branch 'fix_storage_crash' into 'master'

fix modpol storage of old_ledgers

See merge request medlabboulder/modpol!9
Nathan Schneider 3 tahun lalu
induk
melakukan
501ef4d354
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      modpol/storage/storage-local.lua

+ 1 - 1
modpol/storage/storage-local.lua

@@ -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")