diff --git a/sickgear/common.py b/sickgear/common.py index 8d349261..6d97554f 100644 --- a/sickgear/common.py +++ b/sickgear/common.py @@ -362,10 +362,10 @@ class Quality(object): from sickgear import logger if os.path.isfile(filename): - from hachoir.parser import createParser - from hachoir.metadata import extractMetadata - from hachoir.metadata.metadata_item import QUALITY_BEST - from hachoir.stream import InputStreamError + from lib.hachoir.parser import createParser + from lib.hachoir.metadata import extractMetadata + from lib.hachoir.metadata.metadata_item import QUALITY_BEST + from lib.hachoir.stream import InputStreamError parser = height = width = None msg = 'Hachoir can\'t parse file "%s" content quality because it found error: %s' diff --git a/sickgear/providers/generic.py b/sickgear/providers/generic.py index 3f088120..ebf3227a 100644 --- a/sickgear/providers/generic.py +++ b/sickgear/providers/generic.py @@ -41,8 +41,8 @@ from ..sgdatetime import SGDatetime from ..tv import TVEpisode, TVShow from cfscrape import CloudflareScraper -from hachoir.parser import guessParser -from hachoir.stream import FileInputStream +from lib.hachoir.parser import guessParser +from lib.hachoir.stream import FileInputStream from lxml_etree import etree import requests import requests.cookies