Fix some linting issues

This commit is contained in:
cvium 2020-10-29 12:42:57 +01:00 committed by Matt
parent 096680bc57
commit 21cf8bcb68
3 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -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):

View file

@ -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