diff --git a/etiquette/searchhelpers.py b/etiquette/searchhelpers.py index b115c8c..12b003a 100644 --- a/etiquette/searchhelpers.py +++ b/etiquette/searchhelpers.py @@ -490,6 +490,9 @@ def normalize_tagset(photodb, tags, warning_bag=None): if not tags: return None + if isinstance(tags, objects.Tag): + tags = {tags} + if isinstance(tags, str): tags = stringtools.comma_space_split(tags)