From 427f21e41db755cf968a535e2101621e5a1dfc97 Mon Sep 17 00:00:00 2001 From: romanschenk37 <84532681+romanschenk37@users.noreply.github.com> Date: Thu, 10 Mar 2022 22:07:48 +0100 Subject: [PATCH] created Version 1.0 --- Main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Main.py b/Main.py index e4482ca..eabd8f1 100644 --- a/Main.py +++ b/Main.py @@ -119,7 +119,10 @@ def command(): stopThread = True outputtext = outputtext + "Application will stop" + "\n" text1.config(text=outputtext) - thread_search_adresses.join() + try: + thread_search_adresses.join() + except: + pass root.quit() driver.quit() elif(step == 0): @@ -166,6 +169,7 @@ def command(): exit = True def command_exit(): + global exit exit = True command()