Remove extraneous space in API.update_with_media
authorHarmon <Harmon758@gmail.com>
Sat, 20 Feb 2021 00:02:01 +0000 (18:02 -0600)
committerHarmon <Harmon758@gmail.com>
Sat, 20 Feb 2021 00:02:01 +0000 (18:02 -0600)
tweepy/api.py

index 48568c3b3a2da42c45b2b2f075f3baa93f5080cd..933f07dbd593b9ee80b0c5c669cc111aac198141 100644 (file)
@@ -480,7 +480,7 @@ class API:
         else:
             files = {'media[]': open(filename, 'rb')}
         return self.request(
-            'POST',  'statuses/update_with_media', endpoint_parameters=(
+            'POST', 'statuses/update_with_media', endpoint_parameters=(
                 'status', 'possibly_sensitive', 'in_reply_to_status_id',
                 'lat', 'long', 'place_id', 'display_coordinates'
             ), status=status, files=files, **kwargs