mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-10-08 18:02:03 +00:00
Correct logic errors introduced in 00765c0a
, fix flake8 except F841
This commit is contained in:
parent
49cfb6cb51
commit
d28c9a3ac8
34 changed files with 42 additions and 69 deletions
|
@ -10,6 +10,10 @@ import xbmcvfs
|
|||
from helper import loghandler
|
||||
from jellyfin import Jellyfin
|
||||
|
||||
from .default import Events
|
||||
from .service import Service
|
||||
from .context import Context
|
||||
|
||||
#################################################################################################
|
||||
|
||||
Jellyfin.set_loghandler(loghandler.LogHandler, logging.DEBUG)
|
||||
|
@ -18,7 +22,3 @@ loghandler.config()
|
|||
LOG = logging.getLogger('JELLYFIN.entrypoint')
|
||||
|
||||
#################################################################################################
|
||||
|
||||
from default import Events
|
||||
from service import Service
|
||||
from context import Context
|
||||
|
|
|
@ -13,7 +13,6 @@ import database
|
|||
from dialogs import context
|
||||
from helper import _, settings, dialog
|
||||
from downloader import TheVoid
|
||||
from objects import Actions
|
||||
|
||||
#################################################################################################
|
||||
|
||||
|
|
|
@ -2,12 +2,13 @@
|
|||
|
||||
#################################################################################################
|
||||
|
||||
import _strptime # Workaround for threads using datetime: _striptime is locked
|
||||
import json
|
||||
import logging
|
||||
import sys
|
||||
from datetime import datetime
|
||||
|
||||
# Workaround for threads using datetime: _striptime is locked
|
||||
import _strptime # noqa:F401
|
||||
import xbmc
|
||||
import xbmcgui
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue