Merge pull request #52 from gad0lin/master

Fixed login url
This commit is contained in:
Lorenzo Di Fuccia 2018-12-04 11:37:35 +01:00 • committed by GitHub
commit ce59765b88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -417,7 +417,7 @@ class SafariBooks:
return new_cred return new_cred
def do_login(self, email, password): def do_login(self, email, password):
response = self.requests_provider(self.BASE_URL) response = self.requests_provider(self.LOGIN_URL)
if response == 0: if response == 0:
self.display.exit("Login: unable to reach Safari Books Online. Try again...") self.display.exit("Login: unable to reach Safari Books Online. Try again...")