Created
November 23, 2014 16:03
-
-
Save stubb/74b766e0662ef07ce700 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# wait a second to give the thread time to check if a generation is necessary at all | |
time.sleep(1.0) | |
window.deiconify() | |
while atlas_loading_thread.is_alive(): | |
if not window.state() == "iconic": | |
window.attributes("-topmost", 0) | |
window.update() | |
time.sleep(0.1) | |
window.destroy() | |
except ImportError: | |
# tkinter or PIL may be missing | |
atlas_loading_thread.join() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment