Fix NameError during forbids

This commit is contained in:
voussoir 2017-03-17 14:02:03 -07:00
parent 80a861deee
commit df32b0c11d

View file

@ -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