Fix bug where add_tag supersedence caused early commit.
This commit is contained in:
parent
bfc4f313a9
commit
0094e7c006
1 changed files with 1 additions and 1 deletions
|
@ -692,7 +692,7 @@ class Photo(ObjectBase):
|
|||
if self.has_tag(parent, check_children=False):
|
||||
message = f'Preferring new {tag} over {parent}'
|
||||
self.photodb.log.debug(message)
|
||||
self.remove_tag(parent)
|
||||
self.remove_tag(parent, commit=False)
|
||||
|
||||
self.photodb.log.debug('Applying %s to %s', tag, self)
|
||||
|
||||
|
|
Loading…
Reference in a new issue