Add commit prompt for tag_breplace_argparse.

This commit is contained in:
voussoir 2021-10-02 23:39:43 -07:00
parent d14d68b2c8
commit 49fa9263b6
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -463,6 +463,8 @@ def tag_breplace_argparse(args):
tag.rename(new_name)
if args.set_synonym:
tag.add_synonym(tag_name)
if args.autoyes or interactive.getpermission('Commit?'):
photodb.commit()
def tag_list_argparse(args):