lookupfile should lookup the given file=xxx
(Earlier it used to lookup the pre-split term.)
This commit is contained in:
parent
8509f22839
commit
8737061a8f
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class LookupModule(LookupBase):
|
|||
if paramvals['delimiter'] == 'TAB':
|
||||
paramvals['delimiter'] = "\t"
|
||||
|
||||
lookupfile = self._loader.path_dwim_relative(basedir, 'files', term)
|
||||
lookupfile = self._loader.path_dwim_relative(basedir, 'files', paramvals['file'])
|
||||
var = self.read_csv(lookupfile, key, paramvals['delimiter'], paramvals['default'], paramvals['col'])
|
||||
if var is not None:
|
||||
if type(var) is list:
|
||||
|
|
Loading…
Reference in a new issue