Remove undefined argument for API.request in API.update_profile_image
authorHarmon <Harmon758@gmail.com>
Sat, 13 Feb 2021 06:26:14 +0000 (00:26 -0600)
committerHarmon <Harmon758@gmail.com>
Sat, 13 Feb 2021 06:26:14 +0000 (00:26 -0600)
tweepy/api.py

index bc4470492af0563f0e3f272bbcdfd455c7172271..1f8c37568660919d9d342931e36937e947996cfe 100644 (file)
@@ -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
         )