diff --git a/modules/aeolus/datasource.py b/modules/aeolus/datasource.py index 744c1c37a30e87cd882ecb7967e4ce27556548d7..1df7224f27919c545d8fa982af0eb905bd749118 100644 --- a/modules/aeolus/datasource.py +++ b/modules/aeolus/datasource.py @@ -53,7 +53,8 @@ class Files: self.flist = [] for path in Path(files_path).rglob(pattern): self.flist.append(path) - self.flist = glob.glob(files_path + pattern) + else: + self.flist = glob.glob(files_path + pattern) if len(self.flist) == 0: raise GenericException('no matching files found in: ' + files_path + pattern)