Merge pull request #272 from regulskimichal/patch-1

Closes #271
This commit is contained in:
Lorenzo Di Fuccia 2021-08-24 17:01:35 +02:00 • committed by GitHub
commit 38a74b4e4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -524,7 +524,7 @@ class SafariBooks:
elif response.status_code != 200:
self.display.exit("Authentication issue: unable to access profile page.")
elif "user_type\":\"Expired" in response.text:
elif "user_type\":\"Expired\"" in response.text:
self.display.exit("Authentication issue: account subscription expired.")
self.display.info("Successfully authenticated.", state=True)