aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mastodon/Mastodon.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 715da12..68f4914 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -965,9 +965,9 @@ class Mastodon:
965 response_object = None 965 response_object = None
966 try: 966 try:
967 if method == 'GET': 967 if method == 'GET':
968 response_object = requests.get(self.api_base_url + endpoint, data=params, headers=headers, 968 response_object = requests.get(self.api_base_url + endpoint, params=params,
969 files=files, timeout=self.request_timeout) 969 headers=headers, files=files,
970 970 timeout=self.request_timeout)
971 if method == 'POST': 971 if method == 'POST':
972 response_object = requests.post(self.api_base_url + endpoint, data=params, headers=headers, 972 response_object = requests.post(self.api_base_url + endpoint, data=params, headers=headers,
973 files=files, timeout=self.request_timeout) 973 files=files, timeout=self.request_timeout)
Powered by cgit v1.2.3 (git 2.41.0)