Skip to content

Commit c5e03c1

Browse files
committed
Make the switching to default colors really work
1 parent d72e806 commit c5e03c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def load_theme(struct, path, inipath, default_colors):
142142

143143
# Check against default theme to see if all values are defined
144144
for k, v in default_colors.iteritems():
145-
if k not in chain(theme.items('syntax'), theme.items('interface')):
145+
if k not in struct.color_scheme:
146146
struct.color_scheme[k] = v
147147
f.close()
148148

0 commit comments

Comments
 (0)