summaryrefslogtreecommitdiff
path: root/scanner.py
diff options
context:
space:
mode:
Diffstat (limited to 'scanner.py')
-rw-r--r--scanner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scanner.py b/scanner.py
index fd13277..08b2ae0 100644
--- a/scanner.py
+++ b/scanner.py
@@ -74,7 +74,9 @@ class Scanner(object):
self.loader = loader
if self.loader is not None and getattr(self.loader, '_scanner', None) is None:
self.loader._scanner = self
+ self.reset_scanner()
+ def reset_scanner(self):
# Had we reached the end of the stream?
self.done = False