Skip to content

Commit

Permalink
Fix Abnormal provider login check. Fixes #4724 (#4727)
Browse files Browse the repository at this point in the history
* Fix Abnormal provider login check. Fixes #4724

* Update CHANGELOG.md
  • Loading branch information
medariox authored and p0psicles committed Jul 23, 2018
1 parent 1ef028f commit c304860
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
- Fixed unhandled request error on Add Existing Show ([#4639](https://github.com/pymedusa/Medusa/pull/4639))
- Fixed Telegram & Growl message encoding ([#4657](https://github.com/pymedusa/Medusa/pull/4657))
- Fixed being unable to change scene numbering for first 2 episodes of each season on displayShow ([#4656](https://github.com/pymedusa/Medusa/pull/4656))
- Fixed YggTorrents provider downloads by updating the provider's URL ([#4725](https://github.com/pymedusa/Medusa/pull/4725))
- Fixed Abnormal provider login check ([#4727](https://github.com/pymedusa/Medusa/pull/4727))
- _Simple message describing the fix, and a link to the pull request._

### [**Previous versions**](https://github.com/pymedusa/medusa.github.io/blob/master/news/CHANGES.md)
2 changes: 1 addition & 1 deletion medusa/providers/torrent/html/abnormal.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def login(self):
log.warning('Unable to connect to provider')
return False

if not re.search('torrents.php', response.text):
if "Votre nom d'utilisateur ou mot de passe est incorrect." in response.text:
log.warning('Invalid username or password. Check your settings')
return False

Expand Down

0 comments on commit c304860

Please sign in to comment.