From 118ad31c2e0aec636e5ec597400574199fd0299d Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Tue, 6 Jun 2023 12:20:22 -0500 Subject: [PATCH] snapshot... --- modules/aeolus/datasource.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/aeolus/datasource.py b/modules/aeolus/datasource.py index 34d28a70..88914468 100644 --- a/modules/aeolus/datasource.py +++ b/modules/aeolus/datasource.py @@ -138,8 +138,9 @@ class Files: def __next__(self): if self._current_index < len(self.flist): + fname = self.flist[self._current_index] self._current_index += 1 - return self.flist[self._current_index] + return fname self._current_index = 0 raise StopIteration -- GitLab