fix: regression on /set
This commit is contained in:
parent
ae9d8ae291
commit
35519e6478
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue