Update safaribooks.py

This commit is contained in:
Michał Regulski 2021-05-28 13:59:28 +02:00 • committed by GitHub
commit 8e8b1e61b8
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)