mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-24 08:48:50 -05:00
Suppressed torrent list not found error msg
This commit is contained in:
parent
0499069d29
commit
aef6aaa212
@ -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