From a41dec37b3e784e078a578b096dc348d6060aa56 Mon Sep 17 00:00:00 2001 From: Paulo Freitas Date: Mon, 11 Feb 2013 14:44:33 -0200 Subject: [PATCH] Fixed broken User.lists() API call API method `lists()` was replaced by `lists_all()`. --- tweepy/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/models.py b/tweepy/models.py index fe87adb..f58ec79 100644 --- a/tweepy/models.py +++ b/tweepy/models.py @@ -140,7 +140,7 @@ class User(Model): return self._api.lists_subscriptions(user=self.screen_name, *args, **kargs) def lists(self, *args, **kargs): - return self._api.lists(user=self.screen_name, *args, **kargs) + return self._api.lists_all(user=self.screen_name, *args, **kargs) def followers_ids(self, *args, **kargs): return self._api.followers_ids(user_id=self.id, *args, **kargs) -- 2.25.1