return empty string as default value when docstring is missing
This commit is contained in:
parent
fb6545481b
commit
6ed56804b9
1 changed files with 1 additions and 1 deletions
|
@ -1230,7 +1230,7 @@ class Daemon(AuthJSONRPCServer):
|
||||||
)
|
)
|
||||||
|
|
||||||
return self._render_response({
|
return self._render_response({
|
||||||
'help': textwrap.dedent(fn.__doc__)
|
'help': textwrap.dedent(fn.__doc__ or '')
|
||||||
})
|
})
|
||||||
|
|
||||||
def jsonrpc_commands(self):
|
def jsonrpc_commands(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue