From: Harmon Date: Sat, 13 Feb 2021 06:26:14 +0000 (-0600) Subject: Remove undefined argument for API.request in API.update_profile_image X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1a5ba7475f919e6dd113f684ca64c0c6de0b16f1;p=tweepy.git Remove undefined argument for API.request in API.update_profile_image --- 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 )