With fileglob should return full paths as in 1.1
This commit is contained in:
parent
5cc3dd353d
commit
bd0c22868e
1 changed files with 1 additions and 1 deletions
|
@ -34,6 +34,6 @@ class LookupModule(object):
|
|||
|
||||
dwimmed = utils.path_dwim(self.basedir, term)
|
||||
globbed = glob.glob(dwimmed)
|
||||
ret.extend(os.path.basename(g) for g in globbed if os.path.isfile(g))
|
||||
ret.extend(g for g in globbed if os.path.isfile(g))
|
||||
|
||||
return ret
|
||||
|
|
Loading…
Reference in a new issue