Merge pull request #181 from no-boot-device/patch-1

Update Mastodon.py
This commit is contained in:
Lorenz Diener 2019-07-26 12:19:49 +02:00 cometido por GitHub
commit ca9ddfd61c
No se encontró ninguna clave conocida en la base de datos para esta firma
ID de clave GPG: 4AEE18F83AFDEB23

Veure arxiu

@ -2960,7 +2960,7 @@ class Mastodon:
"b96d2de9784efb5af0af56965b8616afe5469c06e7188ad0ccaee5c7cb8a56b6", "b96d2de9784efb5af0af56965b8616afe5469c06e7188ad0ccaee5c7cb8a56b6",
"2dc0cbc89fad4873f665b78cc2f8b6b80fae4af9ac43c0d693edfda27275f517" "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) response_object = self.session.request(method, base_url + endpoint, **kwargs)
except Exception as e: except Exception as e: