Improve formatting in Client.unfollow
authorHarmon <Harmon758@gmail.com>
Wed, 24 Feb 2021 03:44:50 +0000 (21:44 -0600)
committerHarmon <Harmon758@gmail.com>
Wed, 24 Feb 2021 03:44:50 +0000 (21:44 -0600)
tweepy/client.py

index 05f4507fa11a8d5a7df5e560d1ab423e93f48138..c311813a106715c61bf262425d27835b89f84f23 100644 (file)
@@ -309,9 +309,7 @@ class Client:
         source_user_id = self.access_token.partition('-')[0]
         route = f"/2/users/{source_user_id}/following/{target_user_id}"
 
-        return self._make_request(
-            "DELETE", route, user_auth=True
-        )
+        return self._make_request("DELETE", route, user_auth=True)
 
     def unhide_reply(self, tweet_id):
         """