We now get the correct number of entries for the lists
This commit is contained in:
parent
410a0ff69d
commit
3e41885bbe
|
@ -75,7 +75,7 @@ class MyTwitter():
|
||||||
elif self.list == '@' + self.username:
|
elif self.list == '@' + self.username:
|
||||||
statuses = self.api.GetReplies()
|
statuses = self.api.GetReplies()
|
||||||
else:
|
else:
|
||||||
statuses = self.api.GetListStatuses(self.list)
|
statuses = self.api.GetListStatuses(self.list, per_page=self.num_entries)
|
||||||
|
|
||||||
for i in range(0, self.num_entries):
|
for i in range(0, self.num_entries):
|
||||||
if i < len(statuses):
|
if i < len(statuses):
|
||||||
|
|
Reference in New Issue
Block a user