mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-17 23:05:11 -05:00
Merge pull request #1359 from mwarnaar/TPBSeasonSearch
TPB: Suppressed torrent list not found error message
This commit is contained in:
commit
98eecd4761
@ -122,7 +122,9 @@ class ThePirateBayProvider(generic.TorrentProvider):
|
|||||||
filesList = re.findall('<td.+>(.*?)</td>', data)
|
filesList = re.findall('<td.+>(.*?)</td>', data)
|
||||||
|
|
||||||
if not filesList:
|
if not filesList:
|
||||||
logger.log(u"Unable to get the torrent file list for " + title, logger.ERROR)
|
# disabled errormsg for now
|
||||||
|
# logger.log(u"Unable to get the torrent file list for " + title, logger.ERROR)
|
||||||
|
return None
|
||||||
|
|
||||||
videoFiles = filter(lambda x: x.rpartition(".")[2].lower() in mediaExtensions, filesList)
|
videoFiles = filter(lambda x: x.rpartition(".")[2].lower() in mediaExtensions, filesList)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user