printNicely(red('Sorry I can\'t show this image.'))
-def open():
+def urlopen():
"""
Open url
"""
line = ' '*4 + line
printNicely(line)
elif g['stuff'] == 'current_as_default':
+ # Set default
path = os.path.dirname(__file__) + '/colorset/init'
f = open(path,'w')
f.write(c['theme'])
search,
message,
show,
- open,
+ urlopen,
list,
inbox,
sent,
try:
g['stuff'] = ' '.join(line.split()[1:])
process(cmd)()
- except Exception:
+ except Exception,e :
+ print e
printNicely(red('OMG something is wrong with Twitter right now.'))
# Not redisplay prefix
if cmd in ['switch', 't', 'rt', 'rep']: