1
0
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:
Alexandre Beloin 2015-02-20 09:42:30 -05:00
commit 98eecd4761

View File

@ -122,7 +122,9 @@ class ThePirateBayProvider(generic.TorrentProvider):
filesList = re.findall('<td.+>(.*?)</td>', data)
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)