Merge pull request #195 from druscoe/fix_empty_download_thread_list

Fix empty download thread list
This commit is contained in:
mcarlton00 2020-02-16 19:16:21 -05:00 committed by GitHub
commit 5fc60fce6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -230,6 +230,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):