mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 01:36:11 +00:00
Fix some linting issues
This commit is contained in:
parent
096680bc57
commit
21cf8bcb68
3 changed files with 2 additions and 3 deletions
|
@ -11,7 +11,7 @@ from six.moves import range, queue as Queue
|
|||
|
||||
from kodi_six import xbmc
|
||||
import requests
|
||||
from helper import settings, stop, event, window, create_id
|
||||
from helper import settings, stop, window
|
||||
from jellyfin import Jellyfin
|
||||
from jellyfin import api
|
||||
from helper.exceptions import HTTPException
|
||||
|
|
|
@ -508,7 +508,7 @@ def get_fanart(item_id, path, server_id=None):
|
|||
list_li = []
|
||||
directory = xbmc.translatePath("special://thumbnails/jellyfin/%s/" % item_id)
|
||||
jellyfin_client = Jellyfin(server_id).get_client()
|
||||
server = jellyfin_client.auth.get_server_info(self.server_id)['address']
|
||||
server = jellyfin_client.auth.get_server_info(server_id)['address']
|
||||
|
||||
if not xbmcvfs.exists(directory):
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@ import threading
|
|||
from kodi_six import xbmc
|
||||
|
||||
import connect
|
||||
import downloader
|
||||
import player
|
||||
from client import get_device_id
|
||||
from objects import PlaylistWorker, on_play, on_update, special_listener
|
||||
|
|
Loading…
Reference in a new issue