From 8884c8fa2ae49faf0f78d758492092ffc1e5c13e Mon Sep 17 00:00:00 2001 From: Orakaro Date: Thu, 29 May 2014 01:44:08 +0900 Subject: [PATCH] search from config --- rainbowstream/rainbow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rainbowstream/rainbow.py b/rainbowstream/rainbow.py index 825c0c6..dc714e6 100644 --- a/rainbowstream/rainbow.py +++ b/rainbowstream/rainbow.py @@ -251,7 +251,7 @@ def search(): if g['stuff'][0] == '#': rel = t.search.tweets(q=g['stuff'])['statuses'] print('Newest', SEARCH_MAX_RECORD, 'tweet:') - for i in xrange(5): + for i in xrange(SEARCH_MAX_RECORD): draw(t=rel[i], keyword=g['stuff'].strip()[1:]) printNicely('') else: -- 2.25.1