Commit 3d60ee89 by Michael DeHaan

Merge pull request #2825 from sergevanginderachter/firstfound-ossep

remove hardcoded unix dir separator in first_found
parents 2cf30148 53a7ab74
...@@ -152,7 +152,7 @@ class LookupModule(object): ...@@ -152,7 +152,7 @@ class LookupModule(object):
else: else:
for path in pathlist: for path in pathlist:
for fn in filelist: for fn in filelist:
f = path + '/' + fn os.path.join(path, fn)
total_search.append(f) total_search.append(f)
else: else:
total_search = [term] total_search = [term]
......
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