From efe115f909818420311ba5e37fc282ed05e1b892 Mon Sep 17 00:00:00 2001 From: echel0n Date: Wed, 30 Jul 2014 21:47:17 -0700 Subject: [PATCH] Fixed startup issue due to import module issues. --- sickbeard/tvcache.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/sickbeard/tvcache.py b/sickbeard/tvcache.py index 234e24c8..49d61c0d 100644 --- a/sickbeard/tvcache.py +++ b/sickbeard/tvcache.py @@ -24,15 +24,14 @@ import sickbeard from sickbeard import db from sickbeard import logger -from sickbeard import clients -from sickbeard import helpers, show_name_helpers -from sickbeard.providers.generic import GenericProvider from sickbeard.common import Quality + +from sickbeard import helpers, show_name_helpers from sickbeard.exceptions import MultipleShowObjectsException from sickbeard.exceptions import AuthException -from sickbeard.rssfeeds import RSSFeeds - from name_parser.parser import NameParser, InvalidNameException, InvalidShowException +from sickbeard.rssfeeds import RSSFeeds +from sickbeard import clients class CacheDBConnection(db.DBConnection): def __init__(self, providerName): @@ -361,7 +360,7 @@ class TVCache(): result.content = None # validate torrent file if not magnet link to avoid invalid torrent links - if self.provider.providerType == GenericProvider.TORRENT: + if self.provider.providerType == sickbeard.providers.generic.GenericProvider.TORRENT: if sickbeard.TORRENT_METHOD != "blackhole": client = clients.getClientIstance(sickbeard.TORRENT_METHOD)() result = client._get_torrent_hash(result)