Raise InvalidAppSecret message

This commit is contained in:
vitiko98 2020-12-18 13:05:30 -04:00
parent f4509b00f9
commit 3919984a75

View File

@ -199,3 +199,5 @@ class Client:
if self.test_secret(secret):
self.sec = secret
break
if not hasattr(self, "sec"):
raise InvalidAppSecretError("Invalid app secret.\n" + RESET)