IPTorrents, don't continue if nothing found. fixes #1423

This commit is contained in:
Ruud
2013-02-23 16:09:53 +01:00
parent bfe501c84a
commit c214458770

View File

@@ -42,7 +42,7 @@ class IPTorrents(TorrentProvider):
try:
result_table = html.find('table', attrs = {'class' : 'torrents'})
if not result_table:
if not result_table or 'nothing found!' in data.lower():
return
entries = result_table.find_all('tr')