From 8d8c3c258e97c882fc146254db08cac63daa022b Mon Sep 17 00:00:00 2001 From: vunhat_minh Date: Tue, 26 Aug 2014 11:55:14 +0900 Subject: [PATCH] fix #46 --- docs/conf.py | 4 ++-- rainbowstream/colors.py | 4 ++-- setup.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 0aff2ba..b4ab7bd 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 = '0.8.7' +version = '0.8.8' # The full version, including alpha/beta/rc tags. -release = '0.8.7' +release = '0.8.8' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/rainbowstream/colors.py b/rainbowstream/colors.py index d3e5534..bdbc4b4 100644 --- a/rainbowstream/colors.py +++ b/rainbowstream/colors.py @@ -6,7 +6,7 @@ def basic_color(code): c = code if bold: c = "1;%s" % c - return "\001\033[%sm\002%s\001\033[0m\002" % (c, text) + return "\033[%sm%s\033[0m" % (c, text) return inner @@ -16,7 +16,7 @@ def term_color(code): """ def inner(text): c = code - return "\001\033[38;5;%sm\002%s\001\033[0m\002" % (c, text) + return "\033[38;5;%sm%s\033[0m" % (c, text) return inner diff --git a/setup.py b/setup.py index 8a1cf09..874893f 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ import os import os.path # Bumped version -version = '0.8.7' +version = '0.8.8' # Require install_requires = [ -- 2.25.1