projects
/
rainbowstream.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
check if None
[rainbowstream.git]
/
rainbowstream
/
draw.py
diff --git
a/rainbowstream/draw.py
b/rainbowstream/draw.py
index 5063df4ed73b6422705a39609568014410f6d865..ab50d01b3dfb0069e75260f93fa9a479f23fe8dc 100644
(file)
--- a/
rainbowstream/draw.py
+++ b/
rainbowstream/draw.py
@@
-35,8
+35,9
@@
def check_theme():
config = 'rainbowstream/colorset/'+cur_theme+'.json'
# Load new config
data = load_config(config)
- for d in data:
- c[d] = data[d]
+ if data:
+ for d in data:
+ c[d] = data[d]
def color_func(func_name):