Update Mastodon.py

This commit is contained in:
no-boot-device 2019-07-25 03:36:16 -05:00 committed by GitHub
parent a6a5b8250c
commit 0d9948fa40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: