From: Orakaro Date: Sat, 27 Sep 2014 16:42:17 +0000 (+0900) Subject: reset PREFIX after switch stream X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=72f58edbf0bd853f8cb5a2a0f25d48de5c0e8268;p=rainbowstream.git reset PREFIX after switch stream --- diff --git a/docs/conf.py b/docs/conf.py index b1fbd95..670689f 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.3' +version = '1.1.4' # The full version, including alpha/beta/rc tags. -release = '1.1.3' +release = '1.1.4' # 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 bd421d2..427830a 100644 --- a/rainbowstream/rainbow.py +++ b/rainbowstream/rainbow.py @@ -1195,8 +1195,8 @@ def switch(): # Kill old thread g['stream_stop'] = True args.track_keywords = keyword - # Set prefix to origin name with public - g['PREFIX'] = '@' + g['original_name'] + '/public' + # Reset prefix + g['PREFIX'] = u2str(emojize(c['PREFIX'])) # Start new thread th = threading.Thread( target=stream, @@ -1209,8 +1209,8 @@ def switch(): elif target == 'mine': # Kill old thread g['stream_stop'] = True - # Set prefix to origin name - g['PREFIX'] = '@' + g['original_name'] + # Reset prefix + g['PREFIX'] = u2str(emojize(c['PREFIX'])) # Start new thread th = threading.Thread( target=stream, diff --git a/setup.py b/setup.py index 37ac0d1..fae3c8c 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ import os import os.path # Bumped version -version = '1.1.3' +version = '1.1.4' # Require install_requires = [