diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2016-08-25 02:08:01 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2016-08-25 02:08:01 (GMT) |
commit | 5acf4e563f598a77824014b3ab697f70815555db (patch) | |
tree | 639be5da3deb2e6d9f404a8d9b2ad7bbcd71f525 /Lib/idlelib/config.py | |
parent | 3f1057a4b62d8c94ae77f34f950b74a45499b218 (diff) | |
download | cpython-5acf4e563f598a77824014b3ab697f70815555db.zip cpython-5acf4e563f598a77824014b3ab697f70815555db.tar.gz cpython-5acf4e563f598a77824014b3ab697f70815555db.tar.bz2 |
Issue #27821: Fix bug in idlelib.comfig function and add new tests.
Diffstat (limited to 'Lib/idlelib/config.py')
-rw-r--r-- | Lib/idlelib/config.py | 2 |
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: |