Skip to content

Commit

Permalink
Twitter: Fix @Unfollow.
Browse files Browse the repository at this point in the history
  • Loading branch information
progval committed Jul 16, 2013
1 parent 981bbb9 commit fec7cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Twitter/twitter.py
Expand Up @@ -3237,7 +3237,7 @@ def DestroyFriendship(self, user):
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)
Expand Down

0 comments on commit fec7cb8

Please sign in to comment.