upload log function doc string

This commit is contained in:
Jack 2016-04-18 03:41:16 -04:00
parent 9341ccb643
commit 24eed71959

View file

@ -1643,6 +1643,16 @@ class LBRYDaemon(jsonrpc.JSONRPC):
return _check_version()
def jsonrpc_upload_log(self, p=None):
"""
Upload log
Args, optional:
'name_prefix': prefix to denote what is requesting the log upload
'exclude_previous': true/false, whether or not to exclude previous sessions from upload, defaults on true
Returns
True
"""
if p:
if 'name_prefix' in p.keys():
prefix = p['name_prefix'] + '_api'