Fix old reference to incorrect variable name tagname.
This commit is contained in:
parent
ff312d1e16
commit
1f7ffbb283
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue