Try to ensure database is closed
Merge branch 'develop' of https://github.com/brettc/partitionfinder into develop