From 089f62e6f8e1b5eace447c0a667510f47239a38c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Wed, 1 Apr 2015 09:32:13 +0200 Subject: [PATCH] More for mac related --- client/src/UDSClient.py | 1 + client/src/uds/tools.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/UDSClient.py b/client/src/UDSClient.py index b037d578..b7b5781b 100644 --- a/client/src/UDSClient.py +++ b/client/src/UDSClient.py @@ -178,6 +178,7 @@ if __name__ == "__main__": exitVal = app.exec_() + win.showMinimized() # This is a top most window, minimize to bar tools.waitForTasks() time.sleep(3) diff --git a/client/src/uds/tools.py b/client/src/uds/tools.py index a514a313..2ef6d460 100644 --- a/client/src/uds/tools.py +++ b/client/src/uds/tools.py @@ -77,7 +77,7 @@ def addTaskToWait(taks): def waitForTasks(): for t in _tasksToWait: - t.join() + t.wait() def addExecBeforeExit(fnc):