diff --git a/src/launcher/CNIRLauncher.py b/src/launcher/CNIRLauncher.py index ce80eb8..ec82b7a 100644 --- a/src/launcher/CNIRLauncher.py +++ b/src/launcher/CNIRLauncher.py @@ -41,9 +41,6 @@ launcherWindow = ihm.launcherWindowCur ## Main function def main(): - # Starting the main update thread - mainThread.start() - # Hello world logfile.printdbg('*** CNIRLauncher LOGFILE. Hello World ! ***') #logfile.printdbg('Files in directory : ' + str(os.listdir(globs.CNIRFolder))) @@ -53,6 +50,9 @@ def main(): launcherWindow.mainCanvas.itemconfigure(launcherWindow.msg, text='Starting...') launcherWindow.progressBar.start() + # Starting the main update thread + mainThread.start() + launcherWindow.mainloop() logfile.printdbg('*** CNIRLauncher LOGFILE. Goodbye World ! ***')