Don't commit for every file.

This commit is contained in:
voussoir 2021-06-03 19:12:15 -07:00
parent 801226522b
commit ed8241f2ef
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -367,7 +367,6 @@ def reload_metadata_argparse(args):
continue continue
photo.reload_metadata(hash_kwargs=hash_kwargs) photo.reload_metadata(hash_kwargs=hash_kwargs)
need_commit = True need_commit = True
photodb.commit()
except KeyboardInterrupt: except KeyboardInterrupt:
pass pass