Commit f915e9a3 authored by mathieui's avatar mathieui
Browse files

fix: /set: do not priorize section printing if we detect an option

parent c788c9af
Pipeline #3895 passed with stages
in 6 minutes and 37 seconds
......@@ -798,7 +798,7 @@ class CommandCore:
info = ('%s=%s' % (option, value), 'Info')
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)
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