Commit 35519e64 authored by mathieui's avatar mathieui

fix: regression on /set

parent ae9d8ae2
Pipeline #3903 passed with stages
in 14 minutes and 25 seconds
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment