Fix NameError during forbids
This commit is contained in:
parent
80a861deee
commit
df32b0c11d
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ def searchfilter_must_may_forbid(photo_tags, tag_musts, tag_mays, tag_forbids, f
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if tag_forbids:
|
if tag_forbids:
|
||||||
for tag in tag_forbids:
|
for forbid in tag_forbids:
|
||||||
for option in frozen_children[forbid]:
|
for option in frozen_children[forbid]:
|
||||||
if option in photo_tags:
|
if option in photo_tags:
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in a new issue