Do not traceback on /set without any argument
This commit is contained in:
parent
342f24bfb0
commit
7b05fa47c1
1 changed files with 2 additions and 0 deletions
|
@ -541,6 +541,8 @@ def command_set(self, args):
|
|||
"""
|
||||
/set [module|][section] <option> [value]
|
||||
"""
|
||||
if args is None:
|
||||
return self.command_help('set')
|
||||
if len(args) == 1:
|
||||
option = args[0]
|
||||
value = config.get(option)
|
||||
|
|
Loading…
Reference in a new issue