From 98f7cbdef8853fee81a2d40633e5b15e5e553cf8 Mon Sep 17 00:00:00 2001 From: Harmon Date: Wed, 3 Feb 2021 01:19:29 -0600 Subject: [PATCH] Remove improper bind_api argument in API.update_profile_image --- tweepy/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'], -- 2.25.1