use os.path.join instead of hardcoded unix separator in first_found lookup plugin

pull/2825/head
Serge van Ginderachter 12 years ago
parent 2cf30148ba
commit 53a7ab74c8

@ -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]

Loading…
Cancel
Save