all commands (almost): cleaner DMS closing at the end

This commit is contained in:
Celine Mercier
2020-04-12 17:31:58 +02:00
parent eef5156d95
commit 4d0299904e
16 changed files with 31 additions and 26 deletions

View File

@ -529,7 +529,7 @@ def run(config):
test_taxo(config, infos)
infos['view'].close()
infos['dms'].close()
infos['dms'].close(force=True)
shutil.rmtree(config['obi']['defaultdms']+'.obidms', ignore_errors=True)
print("Done.")