Oops, remove incorrect name= from new_tag.
This commit is contained in:
parent
bf0ac1ebac
commit
db92951ad6
1 changed files with 1 additions and 1 deletions
|
@ -1183,7 +1183,7 @@ class PhotoDB(PDBAlbumMixin, PDBBookmarkMixin, PDBPhotoMixin, PDBTagMixin, PDBUs
|
||||||
item = self.get_tag(name=name)
|
item = self.get_tag(name=name)
|
||||||
note = ('existing_tag', item.qualified_name())
|
note = ('existing_tag', item.qualified_name())
|
||||||
except exceptions.NoSuchTag:
|
except exceptions.NoSuchTag:
|
||||||
item = self.new_tag(name=name)
|
item = self.new_tag(name)
|
||||||
note = ('new_tag', item.qualified_name())
|
note = ('new_tag', item.qualified_name())
|
||||||
output_notes.append(note)
|
output_notes.append(note)
|
||||||
return item
|
return item
|
||||||
|
|
Loading…
Reference in a new issue