Merge pull request #2248 from m-sasha/no-half-second-sleep

Do not sleep for half a second in OpenFitsThread.run()
This commit is contained in:
Anton Vorobyov
2020-07-31 11:59:06 +03:00
committed by GitHub

View File

@@ -110,8 +110,6 @@ class OpenFitsThread(threading.Thread):
self.start()
def run(self):
time.sleep(0.5) # Give GUI some time to finish drawing
# `startup` tells FitSpawner that we are loading fits are startup, and
# has 3 values:
# False = Set as default in FitSpawner itself, never set here