From 1a5ba7475f919e6dd113f684ca64c0c6de0b16f1 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sat, 13 Feb 2021 00:26:14 -0600 Subject: [PATCH] Remove undefined argument for API.request in API.update_profile_image --- tweepy/api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index bc44704..1f8c375 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -710,8 +710,7 @@ class API: """ headers, post_data = API._pack_image(filename, 700, f=file_) return self.request( - 'POST', 'account/update_profile_image', *args, - endpoint_parameters=( + 'POST', 'account/update_profile_image', endpoint_parameters=( 'include_entities', 'skip_status' ), post_data=post_data, headers=headers, **kwargs ) -- 2.25.1