Correct logic errors introduced in 00765c0a, fix flake8 except F841

This commit is contained in:
Odd Stråbø 2019-10-04 02:17:32 +02:00
commit d28c9a3ac8
34 changed files with 42 additions and 69 deletions

View file

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

View file

@ -13,7 +13,6 @@ import database
from dialogs import context
from helper import _, settings, dialog
from downloader import TheVoid
from objects import Actions
#################################################################################################

View file

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