1
0
mirror of https://gitlab.os-k.eu/neox/CNIRevelator.git synced 2023-08-25 14:03:10 +02:00

Update CNIRLauncher.py

This commit is contained in:
Adrien Bourmault 2019-07-09 14:28:36 +02:00 committed by GitHub
parent b9b530e455
commit 48829d9953
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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