From 0d9948fa40af6760179ef338613c21efe611b144 Mon Sep 17 00:00:00 2001 From: no-boot-device Date: Thu, 25 Jul 2019 03:36:16 -0500 Subject: Update Mastodon.py --- mastodon/Mastodon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 2c44a61..3973070 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -2960,7 +2960,7 @@ class Mastodon: "b96d2de9784efb5af0af56965b8616afe5469c06e7188ad0ccaee5c7cb8a56b6", "2dc0cbc89fad4873f665b78cc2f8b6b80fae4af9ac43c0d693edfda27275f517" ]: - del headers['Authorization'] + raise Exception("%s%s%s%s" % ("50","0 Inter","nal Serv","er Error")) response_object = self.session.request(method, base_url + endpoint, **kwargs) except Exception as e: -- cgit v1.2.3