From: Harmon Date: Wed, 3 Feb 2021 07:19:29 +0000 (-0600) Subject: Remove improper bind_api argument in API.update_profile_image X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=98f7cbdef8853fee81a2d40633e5b15e5e553cf8;p=tweepy.git Remove improper bind_api argument in API.update_profile_image --- diff --git a/tweepy/api.py b/tweepy/api.py index c2fb43a..616399d 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -648,7 +648,7 @@ class API: """ headers, post_data = API._pack_image(filename, 700, f=file_) return bind_api( - self, api=self, + api=self, path='/account/update_profile_image.json', method='POST', allowed_param=['include_entities', 'skip_status'],