projects
/
rainbowstream.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb03272
)
error message
author
Vu Nhat Minh
<vunhat_minh@dwango.co.jp>
Thu, 3 Jul 2014 08:51:14 +0000
(17:51 +0900)
committer
Vu Nhat Minh
<vunhat_minh@dwango.co.jp>
Thu, 3 Jul 2014 08:51:14 +0000
(17:51 +0900)
rainbowstream/rainbow.py
patch
|
blob
|
blame
|
history
diff --git
a/rainbowstream/rainbow.py
b/rainbowstream/rainbow.py
index 84aff931b5318c2321d43d7c095acccf9b0368b8..ab4c847a9e2cbdbed876ea4731a3d66840014792 100644
(file)
--- 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():