Skip to content
Snippets Groups Projects
Commit 118ad31c authored by tomrink's avatar tomrink
Browse files

snapshot...

parent f5459048
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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