Merge branch 'remove-mkdir' into 'master'

Factored out Unix dependent os call

See merge request medlabboulder/modpol!36
This commit is contained in:
Nathan Schneider 2022-08-12 03:38:02 +00:00
commit a26d2714d9
3 changed files with 2 additions and 3 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
*/data
*/data/*
!*/data/placeholder

View File

View File

@ -11,8 +11,6 @@ modpol.file_ledger = modpol.datadir .. "/ledger.dat"
modpol.file_orgs = modpol.datadir .. "/orgs.dat"
modpol.file_old_ledgers = modpol.datadir .. "/old_ledgers.dat"
os.execute ("mkdir -p " .. modpol.datadir)
modpol.ocutil.setlogdir (modpol.datadir)
modpol.ocutil.setlogname ("modpol.log")