fix: /set: do not priorize section printing if we detect an option
This commit is contained in:
parent
c788c9afb8
commit
f915e9a3ab
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue