Commit a02202ef by Michael DeHaan

Merge pull request #2701 from chamill/devel

Fix 'sequence' plugin error.
parents 40b78f96 88eb5516
...@@ -173,7 +173,10 @@ class LookupModule(object): ...@@ -173,7 +173,10 @@ class LookupModule(object):
def run(self, terms, inject=None, **kwargs): def run(self, terms, inject=None, **kwargs):
results = [] results = []
terms = utils.listify_lookup_plugin_terms(terms, self.basedir, inject) terms = utils.listify_lookup_plugin_terms(terms, self.basedir, inject)
if isinstance(terms, basestring):
terms = [ terms ]
for term in terms: for term in terms:
try: try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment