Fix old reference to incorrect variable name tagname.

This commit is contained in:
voussoir 2020-09-14 05:50:10 -07:00
parent ff312d1e16
commit 1f7ffbb283

View file

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