From 01b6f341861aae8816649edeea8ab250c8883dff Mon Sep 17 00:00:00 2001
From: "gregory.ashton" <gregory.ashton@ligo.org>
Date: Tue, 4 Apr 2017 14:14:12 +0200
Subject: [PATCH] Update to handel ; sep list of sts matches

---
 pyfstat/core.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pyfstat/core.py b/pyfstat/core.py
index a796766..b4dcbce 100755
--- a/pyfstat/core.py
+++ b/pyfstat/core.py
@@ -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:
-- 
GitLab