search from config
authorOrakaro <nhatminh_179@hotmail.com>
Wed, 28 May 2014 16:44:08 +0000 (01:44 +0900)
committerOrakaro <nhatminh_179@hotmail.com>
Wed, 28 May 2014 16:44:08 +0000 (01:44 +0900)
rainbowstream/rainbow.py

index 825c0c6..dc714e6 100644 (file)
@@ -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: