From 35519e6478eb42965fc9a856b3775dabda5dc730 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 16 Apr 2021 21:48:00 +0200 Subject: fix: regression on /set --- poezio/core/commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/poezio/core/commands.py b/poezio/core/commands.py index 9b3d3b1b..48042a29 100644 --- a/poezio/core/commands.py +++ b/poezio/core/commands.py @@ -798,7 +798,8 @@ class CommandCore: info = ('%s=%s' % (option, value), 'Info') else: possible_section = args[0] - if not config.has_option(possible_section) and config.has_section(possible_section): + if (not config.has_option(section='Poezio', option=possible_section) + and config.has_section(possible_section)): section = possible_section option = args[1] value = config.get(option, section=section) -- cgit v1.2.3