Handle when the lookup-plugin is used in jinja-style

This fixes #14190.
pull/14281/head
Dag Wieers 10 years ago
parent 5cd3f71792
commit dee5dba82a

@ -171,7 +171,7 @@ class LookupModule(LookupBase):
else: else:
total_search.append(term) total_search.append(term)
else: else:
total_search = terms total_search = self._flatten(terms)
roledir = variables.get('roledir') roledir = variables.get('roledir')
for fn in total_search: for fn in total_search:

Loading…
Cancel
Save