mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-18 15:25:09 +00:00
Fix some style issues and one bug where param was missing
This commit is contained in:
parent
2d0d21aa2b
commit
eefe7c6fd7
5 changed files with 264 additions and 273 deletions
|
@ -165,7 +165,6 @@ class Artwork(object):
|
|||
from database import Database
|
||||
|
||||
with Database('texture') as texturedb:
|
||||
|
||||
try:
|
||||
texturedb.cursor.execute(QUTEX.get_cache, (url,))
|
||||
cached = texturedb.cursor.fetchone()[0]
|
||||
|
@ -195,7 +194,6 @@ class GetArtworkWorker(threading.Thread):
|
|||
'''
|
||||
with requests.Session() as s:
|
||||
while True:
|
||||
|
||||
try:
|
||||
url = self.queue.get(timeout=2)
|
||||
except Queue.Empty:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue