From ed8241f2ef32c7183b6d4989a7e0688e266a715c Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 3 Jun 2021 19:12:15 -0700 Subject: [PATCH] Don't commit for every file. --- frontends/etiquette_cli.py | 1 - 1 file changed, 1 deletion(-) diff --git a/frontends/etiquette_cli.py b/frontends/etiquette_cli.py index 75e0307..8665133 100644 --- a/frontends/etiquette_cli.py +++ b/frontends/etiquette_cli.py @@ -367,7 +367,6 @@ def reload_metadata_argparse(args): continue photo.reload_metadata(hash_kwargs=hash_kwargs) need_commit = True - photodb.commit() except KeyboardInterrupt: pass