Commit 01b6f341 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Update to handel ; sep list of sts matches

parent ba48f909
......@@ -134,7 +134,8 @@ class BaseSearchClass(object):
subprocess.call([cmd], shell=True)
def get_list_of_matching_sfts(self):
matches = glob.glob(self.sftfilepath)
matches = [glob.glob(p) for p in self.sftfilepath]
matches = [item for sublist in matches for item in sublist]
if len(matches) > 0:
return matches
else:
......
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