mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-25 17:26:13 +00:00
Remove six.moves: range, queue
This commit is contained in:
parent
6a072cc71b
commit
0e80c7cbcc
2 changed files with 25 additions and 25 deletions
|
@ -7,7 +7,7 @@ import threading
|
|||
import concurrent.futures
|
||||
from datetime import date
|
||||
|
||||
from six.moves import range, queue as Queue
|
||||
import queue
|
||||
|
||||
import requests
|
||||
|
||||
|
@ -308,7 +308,7 @@ class GetItemWorker(threading.Thread):
|
|||
while True:
|
||||
try:
|
||||
item_ids = self.queue.get(timeout=1)
|
||||
except Queue.Empty:
|
||||
except queue.Empty:
|
||||
|
||||
self.is_done = True
|
||||
LOG.info("--<[ q:download/%s ]", id(self))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue