From 66fe9f758d24e00cc7f4264a420e2a1507aac0af Mon Sep 17 00:00:00 2001 From: vunhat_minh Date: Thu, 25 Sep 2014 12:46:45 +0900 Subject: [PATCH] fix help message --- docs/conf.py | 4 ++-- rainbowstream/rainbow.py | 8 ++++---- setup.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 6f022e1..b008c55 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,9 +48,9 @@ copyright = u'2014, Vu Nhat Minh' # built documents. # # The short X.Y version. -version = '1.1.0' +version = '1.1.1' # The full version, including alpha/beta/rc tags. -release = '1.1.0' +release = '1.1.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/rainbowstream/rainbow.py b/rainbowstream/rainbow.py index 765ce38..7671143 100644 --- a/rainbowstream/rainbow.py +++ b/rainbowstream/rainbow.py @@ -489,10 +489,10 @@ def share(): t = Twitter(auth=authen()) try: id = int(g['stuff'].split()[0]) + tid = c['tweet_dict'][id] except: - printNicely(red('Sorry I can\'t understand.')) + printNicely(red('Tweet id is not valid.')) return - tid = c['tweet_dict'][id] tweet = t.statuses.show(id=tid) url = 'https://twitter.com/' + \ tweet['user']['screen_name'] + '/status/' + str(tid) @@ -1417,8 +1417,8 @@ def help_tweets(): light_green('ufav 12 ') + ' will unfavorite tweet with ' + \ light_yellow('[id=12]') + '.\n' usage += s * 2 + \ - light_green('share 12 ') + ' will copy the url of the tweet with ' + \ - light_yellow('[id=12]') + ' to your clipboard.\n' + light_green('share 12 ') + ' will get the direct link of the tweet with ' + \ + light_yellow('[id=12]') + '.\n' usage += s * 2 + \ light_green('del 12 ') + ' will delete tweet with ' + \ light_yellow('[id=12]') + '.\n' diff --git a/setup.py b/setup.py index 5d1ff93..b930f62 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ import os import os.path # Bumped version -version = '1.1.0' +version = '1.1.1' # Require install_requires = [ -- 2.25.1