diff --git a/main.py b/main.py index 4de9597..523d087 100644 --- a/main.py +++ b/main.py @@ -152,11 +152,8 @@ def main(): th1.start() # wait for threads to finish - while th1.is_alive() and th2.is_alive(): + while th1.is_alive(): th1.join(0.1) - th2.join(0.1) - logging.info(f"One of the threads exited {th1.is_alive()}, {th2.is_alive()}") - if __name__ == '__main__': logging.basicConfig(level=logging.INFO)