From 2ed8aab2276f4d5897265d20a19371d628add03f Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Thu, 15 Jun 2023 15:02:07 -0500 Subject: [PATCH] snapshot... --- modules/aeolus/datasource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/aeolus/datasource.py b/modules/aeolus/datasource.py index 1b28b15c..8bbcbe56 100644 --- a/modules/aeolus/datasource.py +++ b/modules/aeolus/datasource.py @@ -83,7 +83,7 @@ class Files: if os.path.isdir(files_path): for path in Path(files_path).rglob(pattern): self.flist.append(path) - elif fnmatch.fnmatch(os.path.basename(files_path), pattern): + elif fnmatch.fnmatch(os.path.basename(files_path), pattern): # check if this single file matches pattern self.flist.append(files_path) if len(self.flist) == 0: raise GenericException('no matching files found in: ' + files_path + ' matching: ' + pattern) -- GitLab