From fec7cb8529ca84bd5a01545da73a5b6ed2774918 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Tue, 16 Jul 2013 09:39:00 +0000 Subject: [PATCH] Twitter: Fix @unfollow. --- Twitter/twitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Twitter/twitter.py b/Twitter/twitter.py index e1abe2a..0f86ebd 100644 --- a/Twitter/twitter.py +++ b/Twitter/twitter.py @@ -3237,7 +3237,7 @@ class Api(object): Returns: A twitter.User instance representing the discontinued friend. ''' - url = '%s/friendships/destroy/%s.json' % (self.base_url, user) + url = '%s/friendships/destroy.json' % (self.base_url,) json = self._FetchUrl(url, post_data={'user': user}) data = self._ParseAndCheckTwitter(json) return User.NewFromJsonDict(data)