From: Harmon Date: Fri, 19 Feb 2021 17:07:28 +0000 (-0600) Subject: Change file API.update_profile_image parameter to be keyword-only X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8861e1cb9282de0e6841d33feb58a43f089ccd75;p=tweepy.git Change file API.update_profile_image parameter to be keyword-only --- diff --git a/tweepy/api.py b/tweepy/api.py index ecce01e..098b371 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -823,7 +823,7 @@ class API: ) @payload('user') - def update_profile_image(self, filename, file=None, *args, **kwargs): + def update_profile_image(self, filename, *args, file=None, **kwargs): """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-update_profile_image """ if file is not None: