diff --git a/CHANGES.md b/CHANGES.md index 12faab46..f769720a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -107,6 +107,7 @@ [develop changelog] * Change send nzb data to NZBGet for Anizb instead of url +* Change ensure KAT URL is available ### 0.11.12 (2016-06-20 02:20:00 UTC) diff --git a/sickbeard/providers/kat.py b/sickbeard/providers/kat.py index f059a5dc..a602b101 100644 --- a/sickbeard/providers/kat.py +++ b/sickbeard/providers/kat.py @@ -134,6 +134,8 @@ class KATProvider(generic.TorrentProvider): def _search_provider(self, search_params, search_mode='eponly', epcount=0, **kwargs): results = [] + if None is self.url: + return results items = {'Cache': [], 'Season': [], 'Episode': [], 'Propers': []} rc = dict((k, re.compile('(?i)' + v)) for (k, v) in {'link': 'normal', 'get': '^magnet', 'verif': 'verif'}.items())