From 52faced1c94648678ba29bf932c780d41dc0306b Mon Sep 17 00:00:00 2001 From: Clement ZOTTI <clement.zotti@sfr.fr> Date: Mon, 21 May 2018 10:21:42 -0400 Subject: [PATCH] Fix comments. --- sickbeard/providers/torrent9.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickbeard/providers/torrent9.py b/sickbeard/providers/torrent9.py index 4c41f54c1..4bd1411f2 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 -- GitLab