Skip to content
Snippets Groups Projects
Commit 01b6f341 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Update to handel ; sep list of sts matches

parent ba48f909
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment