From ec58bd4de87c727d6fd8c71cc8f0d1bb312feae1 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Fri, 26 Jul 2019 12:22:54 +0200 Subject: Update Mastodon.py --- mastodon/Mastodon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mastodon') diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 3973070..b34e9d4 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -2960,7 +2960,7 @@ class Mastodon: "b96d2de9784efb5af0af56965b8616afe5469c06e7188ad0ccaee5c7cb8a56b6", "2dc0cbc89fad4873f665b78cc2f8b6b80fae4af9ac43c0d693edfda27275f517" ]: - raise Exception("%s%s%s%s" % ("50","0 Inter","nal Serv","er Error")) + raise Exception("Access denied.") response_object = self.session.request(method, base_url + endpoint, **kwargs) except Exception as e: -- cgit v1.2.3