def start_download_img(url, file_name): t = DownloadThread(arg=(url, file_name)) t.setDaemon(True) t.start()