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

@ -2,22 +2,21 @@
#################################################################################################
import json
import logging
import os
from uuid import uuid4
import collections
import xbmc
import xbmcvfs
import api
import database
import client
import collections
import requests
from . import _, settings, window, dialog
from downloader import TheVoid
from . import _, settings, window, dialog
#################################################################################################
LOG = logging.getLogger("JELLYFIN." + __name__)

View file

@ -2,9 +2,7 @@
##################################################################################################
import json
import logging
import os
import xbmc
import xbmcaddon

View file

@ -12,13 +12,14 @@ import urllib
from uuid import uuid4
from distutils.version import LooseVersion
from dateutil import tz, parser
import xbmc
import xbmcaddon
import xbmcgui
import xbmcvfs
from . import _
from dateutil import tz, parser
from .translate import _
#################################################################################################

View file

@ -6,8 +6,9 @@ import logging
import xbmcgui
from . import _, LibraryException
from utils import should_stop
from .utils import should_stop
from .exceptions import LibraryException
from .translate import _
#################################################################################################

View file

@ -2,7 +2,6 @@
#################################################################################################
import json
import logging
import os
import xml.etree.ElementTree as etree