Permalink
Browse files

twiffer.py: Fix bug where entire timeline isn't loaded

  • Loading branch information...
1 parent 59e865d commit 4f3cf0334461b42f9ae5084d6a26936ca155384b @srynot4sale committed Feb 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 twiffer.py
View
@@ -51,7 +51,7 @@ def main():
page = twitter_stream.statuses.home_timeline(count=200, since_id=tweet_id)
tweets += page
- if len(page) < 200:
+ if len(page) == 0:
break
max_id = tweets[-1]['id'] - 1

0 comments on commit 4f3cf03

Please sign in to comment.