Added download thread to the download_threads when created.

This commit is contained in:
Chuddah 2020-02-16 22:56:46 +00:00
parent b9817a5617
commit b878a0e433

View file

@ -231,6 +231,7 @@ class Library(threading.Thread):
new_thread = GetItemWorker(self.server, queue[0], queue[1]) new_thread = GetItemWorker(self.server, queue[0], queue[1])
new_thread.start() new_thread.start()
LOG.info("-->[ q:download/%s ]", id(new_thread)) LOG.info("-->[ q:download/%s ]", id(new_thread))
self.download_threads.append(new_thread)
def worker_sort(self): def worker_sort(self):