Merge pull request #2701 from chamill/devel
Fix 'sequence' plugin error.
This commit is contained in:
commit
a02202eff7
1 changed files with 4 additions and 1 deletions
|
@ -173,7 +173,10 @@ class LookupModule(object):
|
|||
def run(self, terms, inject=None, **kwargs):
|
||||
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:
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue