summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/config.py')
-rw-r--r--Lib/idlelib/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/config.py b/Lib/idlelib/config.py
index f2437a8..d2f0b13 100644
--- a/Lib/idlelib/config.py
+++ b/Lib/idlelib/config.py
@@ -394,7 +394,7 @@ class IdleConf:
'name2' may still be set, but it is ignored.
"""
cfgname = 'highlight' if section == 'Theme' else 'keys'
- default = self.GetOption('main', 'Theme', 'default',
+ default = self.GetOption('main', section, 'default',
type='bool', default=True)
name = ''
if default: