Skip to content
Snippets Groups Projects
Commit 547bf05d authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 03265e19
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment