1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Fix for KickAss Torrents Invalid URL error.

This commit is contained in:
echel0n 2014-07-11 21:12:25 -07:00
parent d9f37eb852
commit 21cc92664f

View File

@ -65,6 +65,7 @@ class KATProvider(generic.TorrentProvider):
self.cache = KATCache(self)
self.urls = ['http://kickass.to/', 'http://katproxy.com/']
self.url = None
def isEnabled(self):
return self.enabled
@ -240,6 +241,7 @@ class KATProvider(generic.TorrentProvider):
html = self.getURL(searchURL)
if html:
self.url = url
break
if not html: