diff --git a/sickbeard/providers/torrent9.py b/sickbeard/providers/torrent9.py index 4c41f54c12293eb610dab6138c8fefc5223cf5a1..4bd1411f2545b42f84b34e3f23194d3c017d9bb4 100644 --- a/sickbeard/providers/torrent9.py +++ b/sickbeard/providers/torrent9.py @@ -81,7 +81,7 @@ class Torrent9Provider(TorrentProvider): with BS4Parser(data, 'html5lib') as html: torrent_table = html.find('div', {'class': 'table-responsive'}) - if torrent_table is not None: + if torrent_table: torrent_rows = torrent_table.findAll('tr') else: torrent_rows = None