From 657c4708325f0da4bbaf552970bc854351affb47 Mon Sep 17 00:00:00 2001 From: Vu Nhat Minh Date: Thu, 3 Jul 2014 17:51:14 +0900 Subject: [PATCH] error message --- rainbowstream/rainbow.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rainbowstream/rainbow.py b/rainbowstream/rainbow.py index 84aff93..ab4c847 100644 --- a/rainbowstream/rainbow.py +++ b/rainbowstream/rainbow.py @@ -813,7 +813,10 @@ def theme(): '[@' + g['original_name'] + ']: ') printNicely(green('Theme changed.')) except: - printNicely(red('Sorry, can not load config file!')) + if g['stuff'] == 'custom': + printNicely(red('Sorry you should create config file first!')) + else: + printNicely(red('No such theme exists.')) def help(): -- 2.25.1