From: Orakaro Date: Wed, 28 May 2014 16:44:08 +0000 (+0900) Subject: search from config X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8884c8fa2ae49faf0f78d758492092ffc1e5c13e;p=rainbowstream.git search from config --- 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: