def check_download_thread(self): if self.download_thread.is_alive(): return True else: self.download_thread.join()