diff options
author | Louis Vézina <[email protected]> | 2019-11-15 12:38:34 -0500 |
---|---|---|
committer | Louis Vézina <[email protected]> | 2019-11-15 12:38:34 -0500 |
commit | 684c8009bc6c66080eb1dcafd436e5aaacf5584d (patch) | |
tree | 8d46973de13f01c72369f3bf618e385e18810d1b /libs | |
parent | 47f7944d64d8df934ccf4159a0375476dad8a31b (diff) | |
download | bazarr-684c8009bc6c66080eb1dcafd436e5aaacf5584d.tar.gz bazarr-684c8009bc6c66080eb1dcafd436e5aaacf5584d.zip |
Fix for Addic7ed.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/subliminal_patch/providers/addic7ed.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/subliminal_patch/providers/addic7ed.py b/libs/subliminal_patch/providers/addic7ed.py index ce41ebca0..880a4729c 100644 --- a/libs/subliminal_patch/providers/addic7ed.py +++ b/libs/subliminal_patch/providers/addic7ed.py @@ -145,7 +145,7 @@ class Addic7edProvider(_Addic7edProvider): if "relax, slow down" in r.text: raise TooManyRequests(self.username) - if "Wrong password" in r.content or "doesn't exist" in r.content: + if "Wrong password" in r.text or "doesn't exist" in r.text: raise AuthenticationError(self.username) if r.status_code != 302: |