diff --git a/reportIPBlock.py b/reportIPBlock.py index 774cac3..2dafa8e 100644 --- a/reportIPBlock.py +++ b/reportIPBlock.py @@ -108,7 +108,7 @@ def main(): publishThread.join() serverThread.join() - if failure_event.is_set(): + if failureEvent.is_set(): print("One of the threads failed. Terminating") sys.exit(1)