Fix old reference to incorrect variable name tagname.

master
voussoir 2020-09-14 05:50:10 -07:00
parent ff312d1e16
commit 1f7ffbb283
1 changed files with 1 additions and 1 deletions

View File

@ -1083,7 +1083,7 @@ class PDBTagMixin:
if isinstance(tagname, objects.Tag): if isinstance(tagname, objects.Tag):
if tagname.photodb == self: if tagname.photodb == self:
return tagname return tagname
tagname = tagname.tagname tagname = tagname.name
try: try:
# TODO: this logic is flawed because tags that were created in # TODO: this logic is flawed because tags that were created in