fix json syntax
authorVu Nhat Minh <vunhat_minh@dwango.co.jp>
Wed, 2 Jul 2014 07:25:56 +0000 (16:25 +0900)
committerVu Nhat Minh <vunhat_minh@dwango.co.jp>
Wed, 2 Jul 2014 07:25:56 +0000 (16:25 +0900)
rainbowstream/colorset/default.json
rainbowstream/config.py

index 4e3e36a59ea09429431714eedeffde2f7c23297b..e33f9dea38ad5d60e6353386edf975a39715ddc1 100644 (file)
@@ -1,23 +1,21 @@
-/*
-Default color config for rainbowstream
-Following 16 basic colors is supported:
-  default
-  black
-  red
-  green
-  yellow
-  blue
-  magenta
-  cyan
-  grey
-  light_red
-  light_green
-  light_yellow
-  light_blue
-  light_magenta
-  light_cyan
-  white
-*/
+// Default color config for rainbowstream
+// Following 16 basic colors is supported:
+//  default
+//  black
+//  red
+//  green
+//  yellow
+//  blue
+//  magenta
+//  cyan
+//  grey
+//  light_red
+//  light_green
+//  light_yellow
+//  light_blue
+//  light_magenta
+//  light_cyan
+//  white
 
 {
     "TWEET" : {
@@ -27,7 +25,7 @@ Following 16 basic colors is supported:
         "favourite" : "light_green",
         "rt"        : "grey",
         "link"      : "light_cyan",
-        "keyword"   : "on_light_yellow",
+        "keyword"   : "on_light_yellow"
     },
 
     "MESSAGE" : {
@@ -35,7 +33,7 @@ Following 16 basic colors is supported:
         "recipient" : "grey",
         "to"        : "light_magenta",
         "clock"     : "grey",
-        "id"        : "grey",
+        "id"        : "grey"
     },
 
     "PROFILE" : {
@@ -47,11 +45,10 @@ Following 16 basic colors is supported:
         "description"       : "light_yellow",
         "location"          : "light_magenta",
         "url"               : "light_cyan",
-        "clock"             : "white",
+        "clock"             : "white"
     },
 
     "TREND" : {
-        "url": "light_cyan",
+        "url": "light_cyan"
     }
-
 }
\ No newline at end of file
index 67dfc91fc6a6f9f0071594882cd527796b645476..409f1605c192aad5413ca3d94b79cb079e034121 100644 (file)
@@ -30,7 +30,7 @@ IMAGE_SHIFT = 10
 IMAGE_MAX_HEIGHT = 40
 
 # Load colorset
-default_colorset = 'colorset/default.json'
+default_colorset = 'rainbowstream/colorset/default.json'
 try:
     if os.path.exists(default_colorset):
         data = json.load(open(default_colorset))