diff options
-rw-r--r-- | poezio/core/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/commands.py b/poezio/core/commands.py index adb5404f..9b3d3b1b 100644 --- a/poezio/core/commands.py +++ b/poezio/core/commands.py @@ -798,7 +798,7 @@ class CommandCore: info = ('%s=%s' % (option, value), 'Info') else: possible_section = args[0] - if config.has_section(possible_section): + if not config.has_option(possible_section) and config.has_section(possible_section): section = possible_section option = args[1] value = config.get(option, section=section) |