aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2017-09-08 13:44:30 +0200
committerGitHub <[email protected]>2017-09-08 13:44:30 +0200
commit74cb10eeff273c8ee66c0c0dcf43c5b60cd2eef1 (patch)
tree8e3b5417e3abc626e2bfce0180a9f508db95d933 /mastodon
parent6ef2724f66fbc9358c13e342a98f7385d25df4a1 (diff)
parente56bf7b6e1c7c687b55fbe035f3492eb05eba2a1 (diff)
downloadmastodon.py-74cb10eeff273c8ee66c0c0dcf43c5b60cd2eef1.tar.gz
Merge branch 'master' into master
Diffstat (limited to 'mastodon')
-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)