]> git.treefish.org Git - photosort.git/blobdiff - src/photosort.py
fixing db creation
[photosort.git] / src / photosort.py
index 2829337d7d1e02583ababdbb8b63a82d3a85d726..872724ee49a8a688b234b12556515f221b15f510 100755 (executable)
@@ -29,6 +29,10 @@ logging.basicConfig(format='[%(asctime)s] %(levelname)s: %(message)s',
                     level=log_level, datefmt='%m/%d/%Y %H:%M:%S')
 
 migrator = Migrator(args.SOURCE_DIR, args.DEST_DIR)
+
 migrator.migrate(args.cleanup)
+
 if args.cleanup:
     migrator.cleanup()
+
+migrator.close()