from twitter.oauth import OAuth, read_token_file
from twitter.oauth_dance import oauth_dance
from twitter.util import printNicely
-from StringIO import StringIO
from .draw import *
from .colors import *
from .interactive import *
from .db import *
from .c_image import *
+from .py3patch import *
+
g = {}
db = RainbowDB()
try:
g['stuff'] = ' '.join(line.split()[1:])
process(cmd)()
- except Exception,e :
- print e
+ except Exception:
printNicely(red('OMG something is wrong with Twitter right now.'))
# Not redisplay prefix
if cmd in ['switch', 't', 'rt', 'rep']: