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 825c0c6b69d84151f82a6121f8ddd0d68f2a242a..dc714e6f016db4f6c80008af60cdfd1e7a8d06cc 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: