import readline
-
+import rlcompleter
class RainbowCompleter(object):
Init the rainbow shell
"""
readline.set_completer(RainbowCompleter(set).complete)
- readline.parse_and_bind('tab: complete')
readline.parse_and_bind('set editing-mode vi')
+ if 'libedit' in readline.__doc__:
+ readline.parse_and_bind("bind ^I rl_complete")
+ else:
+ readline.parse_and_bind("tab: complete")
\ No newline at end of file
date = date - datetime.timedelta(seconds=time.timezone)
clock = date.strftime('%Y/%m/%d %H:%M:%S')
+ print('before search')
res = db.tweet_query(tid)
if not res:
db.store(tid)
# The Logo
ascii_art()
- g['stuff'] = '1'
- home()
# These arguments are optional:
stream_args = dict(
timeout=args.timeout,