From 75bc416cae36d3c7bff31c8007457f2a1a769d26 Mon Sep 17 00:00:00 2001 From: Vu Nhat Minh Date: Thu, 3 Jul 2014 18:21:39 +0900 Subject: [PATCH] last test --- rainbowstream/rainbow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rainbowstream/rainbow.py b/rainbowstream/rainbow.py index d69f602..6b88c50 100644 --- a/rainbowstream/rainbow.py +++ b/rainbowstream/rainbow.py @@ -794,7 +794,6 @@ def theme(): # Change theme try: # Load new config - c['theme'] = g['stuff'] if g['stuff'] != 'custom': new_config = 'rainbowstream/colorset/' + g['stuff'] + '.json' else: @@ -808,6 +807,7 @@ def theme(): c[nc] = new_config[nc] # Update db and reset colors db.theme_update(g['stuff']) + c['theme'] = g['stuff'] notify_cycle() g['decorated_name'] = color_func( c['DECORATED_NAME'])( @@ -815,7 +815,7 @@ def theme(): printNicely(green('Theme changed.')) except: if g['stuff'] == 'custom': - printNicely(light_magenta('~/.rainbow_config.json is not exists!')) + printNicely(red('~/.rainbow_config.json is not exists!')) else: printNicely(red('No such theme exists.')) -- 2.25.1