Add commit prompt for tag_breplace_argparse.
This commit is contained in:
parent
d14d68b2c8
commit
49fa9263b6
1 changed files with 3 additions and 1 deletions
|
@ -463,7 +463,9 @@ def tag_breplace_argparse(args):
|
|||
tag.rename(new_name)
|
||||
if args.set_synonym:
|
||||
tag.add_synonym(tag_name)
|
||||
photodb.commit()
|
||||
|
||||
if args.autoyes or interactive.getpermission('Commit?'):
|
||||
photodb.commit()
|
||||
|
||||
def tag_list_argparse(args):
|
||||
photodb = etiquette.photodb.PhotoDB.closest_photodb()
|
||||
|
|
Loading…
Reference in a new issue