From: Jordi Riera Date: Tue, 3 Jun 2014 14:51:15 +0000 (+0200) Subject: Added two missed api=self. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=705075226b11816d72e0b7a0efb30aada18e32c5;p=tweepy.git Added two missed api=self. --- diff --git a/tweepy/api.py b/tweepy/api.py index f26a5c1..eda5e45 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -617,6 +617,7 @@ class API(object): f = kargs.pop('file', None) headers, post_data = API._pack_image(filename, 800, f=f) bind_api( + api=self, path='/account/update_profile_background_image.json', method='POST', payload_type='user', @@ -629,6 +630,7 @@ class API(object): f = kargs.pop('file', None) headers, post_data = API._pack_image(filename, 700, form_field="banner", f=f) bind_api( + api=self, path='/account/update_profile_banner.json', method='POST', allowed_param=['width', 'height', 'offset_left', 'offset_right'],