Commit 08bf6b30 authored by Dustyn Gibson's avatar Dustyn Gibson
Browse files

Cannot add lib in import calls for subliminal

parent 87d3269e
......@@ -3,7 +3,7 @@
#import sickbeard.helpers
#from sickbeard.common import *
#from sickbeard.helpers import anon_url
#from lib import subliminal
#import subliminal
#import os.path, os
#import datetime
#import urllib
......
#import sickbeard
#from lib import subliminal
#from lib import babelfish
#import subliminal
#import babelfish
#import datetime
#from sickbeard import common
#set global $title="Episode Overview"
......
......@@ -80,8 +80,8 @@ class Provider(object):
:rtype: bool
"""
#if not isinstance(video, cls.video_types):
# return False
if not isinstance(video, cls.video_types):
return False
if cls.required_hash is not None and cls.required_hash not in video.hashes:
return False
return True
......
......@@ -26,8 +26,8 @@ from sickbeard import helpers
from sickbeard import encodingKludge as ek
from sickbeard import db
from sickbeard import history
from lib import subliminal
from lib import babelfish
import subliminal
import babelfish
subliminal.cache_region.configure('dogpile.cache.memory')
......
......@@ -32,7 +32,7 @@ import xml.etree.cElementTree as etree
from name_parser.parser import NameParser, InvalidNameException, InvalidShowException
from lib import subliminal
import subliminal
try:
from lib.send2trash import send2trash
......@@ -53,7 +53,7 @@ from sickbeard.blackandwhitelist import BlackAndWhiteList
from sickbeard import sbdatetime
from sickbeard import network_timezones
from dateutil.tz import *
from lib.subliminal.exceptions import Error as ServiceError
from subliminal.exceptions import Error as ServiceError
from sickbeard import encodingKludge as ek
......
......@@ -45,7 +45,7 @@ try:
except ImportError:
from lib import simplejson as json
from lib import subliminal
import subliminal
import babelfish
from tornado.web import RequestHandler
......
......@@ -54,7 +54,7 @@ from sickbeard.scene_numbering import get_scene_numbering, set_scene_numbering,
from lib.dateutil import tz, parser as dateutil_parser
from lib.unrar2 import RarFile
from lib import adba, subliminal
import adba, subliminal
from lib.trakt import TraktAPI
from lib.trakt.exceptions import traktException
from versionChecker import CheckVersion
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment