diff --git a/patator.py b/patator.py index 85535c6..d6ec1cc 100755 --- a/patator.py +++ b/patator.py @@ -1892,6 +1892,9 @@ Please read the README inside for more examples and usage information. except Empty: break + if 'quit' in actions: + self.ns.quit_now = True + if actions == 'skip': p.skip_count += 1 continue @@ -1928,9 +1931,6 @@ Please read the README inside for more examples and usage information. p.done_count += 1 - if 'quit' in actions: - self.ns.quit_now = True - def monitor_interaction(self):