From f5459048dd95b72af37818d93e58a6e3a3ecc53d Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Tue, 6 Jun 2023 12:13:31 -0500
Subject: [PATCH] snapshot...

---
 modules/aeolus/datasource.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/aeolus/datasource.py b/modules/aeolus/datasource.py
index 1b076129..34d28a70 100644
--- a/modules/aeolus/datasource.py
+++ b/modules/aeolus/datasource.py
@@ -140,9 +140,9 @@ class Files:
         if self._current_index < len(self.flist):
             self._current_index += 1
             return self.flist[self._current_index]
-        else:
-            self._current_index = 0
-            raise StopIteration
+
+        self._current_index = 0
+        raise StopIteration
 
 
 class GOESL1B(Files):
-- 
GitLab