Merge pull request #687 from lbryio/fix_daemoncontrol_deprecated

DaemonControl is using deprecated is_running API command
This commit is contained in:
Alex Grin 2017-06-12 14:07:49 -04:00 committed by GitHub
commit 49b255a2b5

View file

@ -83,7 +83,7 @@ def start():
try:
log.debug('Checking for an existing lbrynet daemon instance')
JSONRPCProxy.from_url(conf.settings.get_api_connection_string()).is_running()
JSONRPCProxy.from_url(conf.settings.get_api_connection_string()).status()
log.info("lbrynet-daemon is already running")
return
except Exception: