projects
/
rainbowstream.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
147bb4a
)
add linebreak after favorite
author
Orakaro
<nhatminh_179@hotmail.com>
Fri, 20 Jun 2014 16:43:04 +0000
(
01:43
+0900)
committer
Orakaro
<nhatminh_179@hotmail.com>
Fri, 20 Jun 2014 16:43:04 +0000
(
01:43
+0900)
rainbowstream/rainbow.py
patch
|
blob
|
blame
|
history
diff --git
a/rainbowstream/rainbow.py
b/rainbowstream/rainbow.py
index e65917533c3f05636c55348295b71bda72870be9..b0373e18fe7508b9a609f6f4132f3d45cdbdaec7 100644
(file)
--- a/
rainbowstream/rainbow.py
+++ b/
rainbowstream/rainbow.py
@@
-537,6
+537,7
@@
def favorite():
t.favorites.create(_id=tid, include_entities=False)
printNicely(green('Favorited.'))
draw(t.statuses.show(id=tid), iot=g['iot'])
+ printNicely('')
except:
printNicely(red('Omg some syntax is wrong.'))
@@
-582,6
+583,7
@@
def unfavorite():
t.favorites.destroy(_id=tid)
printNicely(green('Okay it\'s unfavorited.'))
draw(t.statuses.show(id=tid), iot=g['iot'])
+ printNicely('')
except:
printNicely(red('Sorry I can\'t unfavorite this tweet for you.'))