fix -iot bug
[rainbowstream.git] / rainbowstream / config.py
index a5e542d5afcd492338ae2ea7f568b5ff2c4d5c2e..bc541a9297570e6f38a03dd9da4e1241ca4b98ad 100644 (file)
@@ -25,7 +25,7 @@ def load_config(filepath):
 
 # Load default colorset
 c = {}
-default_config = 'rainbowstream/colorset/default.json'
+default_config = os.path.dirname(__file__) + '/colorset/default.json'
 data = load_config(default_config)
 for d in data:
     c[d] = data[d]