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 84aff93..ab4c847 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():