From 24eed71959e6e9188dadd903190cf1f89d13fa72 Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 18 Apr 2016 03:41:16 -0400 Subject: [PATCH] upload log function doc string --- lbrynet/lbrynet_daemon/LBRYDaemon.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lbrynet/lbrynet_daemon/LBRYDaemon.py b/lbrynet/lbrynet_daemon/LBRYDaemon.py index 5547b1367..5e3296c4c 100644 --- a/lbrynet/lbrynet_daemon/LBRYDaemon.py +++ b/lbrynet/lbrynet_daemon/LBRYDaemon.py @@ -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'