error message
authorVu Nhat Minh <vunhat_minh@dwango.co.jp>
Thu, 3 Jul 2014 08:51:14 +0000 (17:51 +0900)
committerVu Nhat Minh <vunhat_minh@dwango.co.jp>
Thu, 3 Jul 2014 08:51:14 +0000 (17:51 +0900)
rainbowstream/rainbow.py

index 84aff931b5318c2321d43d7c095acccf9b0368b8..ab4c847a9e2cbdbed876ea4731a3d66840014792 100644 (file)
@@ -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():