diff --git a/CHANGES.md b/CHANGES.md index 561b4f57..beea071d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -154,6 +154,11 @@ * Add parse repack, proper level to recent search flow +### 0.12.36 (2017-11-01 11:45:00 UTC) + +* Change qBittorent to handle the change to its API success/fail response + + ### 0.12.35 (2017-10-27 20:30:00 UTC) * Change and add some network logos diff --git a/sickbeard/clients/qbittorrent.py b/sickbeard/clients/qbittorrent.py index be155eaa..cdd483d7 100644 --- a/sickbeard/clients/qbittorrent.py +++ b/sickbeard/clients/qbittorrent.py @@ -39,7 +39,7 @@ class QbittorrentAPI(GenericClient): def _post_api(self, cmd='', **kwargs): - return '' == helpers.getURL('%scommand/%s' % (self.host, cmd), session=self.session, **kwargs) + return helpers.getURL('%scommand/%s' % (self.host, cmd), session=self.session, **kwargs) in ('', 'Ok.') def _add_torrent(self, cmd, **kwargs):