X-Git-Url: http://git.treefish.org/~alex/photosort.git/blobdiff_plain/224556236ecd0f48f461738bc8157a82f5009618..c14b3934d3a602d806e68c2f92f05ad4dd115a54:/src/photosort.py?ds=sidebyside diff --git a/src/photosort.py b/src/photosort.py index 2829337..872724e 100755 --- a/src/photosort.py +++ b/src/photosort.py @@ -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()