From e5fe55dbe729dddf0fa1a7499dfb0faff14c767b Mon Sep 17 00:00:00 2001 From: vunhat_minh Date: Tue, 9 Feb 2016 13:53:47 +0900 Subject: [PATCH] Fix some bugs by pull requests --- docs/conf.py | 4 ++-- docs/index.rst | 2 ++ rainbowstream/rainbow.py | 3 --- setup.py | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 124de0c..ca3e0e7 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.3.1' +version = '1.3.2' # The full version, including alpha/beta/rc tags. -release = '1.3.1' +release = '1.3.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/index.rst b/docs/index.rst index 348d1a1..93f0399 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -132,6 +132,8 @@ Here is full list of supported command: - ``home`` will show your timeline. ``home 10`` will print exactly 10 tweets. +- ``me`` will show your latest tweets. ``me 2`` will show your last 2 tweets. + - ``notification`` will show your notification from the time you started RainbowStream. - ``mentions`` will show mentions timeline. ``mentions 7`` will show 7 mention tweets. diff --git a/rainbowstream/rainbow.py b/rainbowstream/rainbow.py index bb34bdb..3a55c18 100644 --- a/rainbowstream/rainbow.py +++ b/rainbowstream/rainbow.py @@ -239,11 +239,8 @@ def init(args): c['message_dict'] = [] # Image on term c['IMAGE_ON_TERM'] = args.image_on_term - set_config('IMAGE_ON_TERM', str(c['IMAGE_ON_TERM'])) # Use 24 bit color c['24BIT'] = args.color_24bit - # Resize images based on the current terminal size - set_config('IMAGE_RESIZE_TO_FIT', str(c.get('IMAGE_RESIZE_TO_FIT', False))) # Check type of ONLY_LIST and IGNORE_LIST if not isinstance(c['ONLY_LIST'], list): printNicely(red('ONLY_LIST is not a valid list value.')) diff --git a/setup.py b/setup.py index b04ce8e..26b4e98 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ import os import os.path # Bumped version -version = '1.3.1' +version = '1.3.2' # Require install_requires = [ -- 2.25.1