2019-01-23 16:41:34 +01:00
|
|
|
from lbrynet.conf import Config
|
2019-04-23 20:40:10 +02:00
|
|
|
from lbrynet.extras.cli import execute_command
|
2019-01-22 23:44:17 +01:00
|
|
|
|
|
|
|
|
2019-04-23 20:40:10 +02:00
|
|
|
def daemon_rpc(conf: Config, method: str, **kwargs):
|
|
|
|
return execute_command(conf, method, kwargs, callback=lambda data: data)
|