mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
use os.path.join instead of hardcoded unix separator in first_found lookup plugin
This commit is contained in:
parent
2cf30148ba
commit
53a7ab74c8
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class LookupModule(object):
|
|||
else:
|
||||
for path in pathlist:
|
||||
for fn in filelist:
|
||||
f = path + '/' + fn
|
||||
os.path.join(path, fn)
|
||||
total_search.append(f)
|
||||
else:
|
||||
total_search = [term]
|
||||
|
|
Loading…
Reference in a new issue