change name of check_first_run to is_first_run
This commit is contained in:
parent
c3277d24c3
commit
a4c83a08c7
1 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ class LBRYDaemon(jsonrpc.JSONRPC):
|
||||||
# versions...
|
# versions...
|
||||||
|
|
||||||
if not self.announced_startup:
|
if not self.announced_startup:
|
||||||
if functionPath not in ['is_running', 'check_first_run',
|
if functionPath not in ['is_running', 'is_first_run',
|
||||||
'get_time_behind_blockchain', 'stop',
|
'get_time_behind_blockchain', 'stop',
|
||||||
'daemon_status']:
|
'daemon_status']:
|
||||||
return server.failure
|
return server.failure
|
||||||
|
@ -873,7 +873,7 @@ class LBRYDaemon(jsonrpc.JSONRPC):
|
||||||
log.info("[" + str(datetime.now()) + "] daemon status: " + str(r))
|
log.info("[" + str(datetime.now()) + "] daemon status: " + str(r))
|
||||||
return self._render_response(r, OK_CODE)
|
return self._render_response(r, OK_CODE)
|
||||||
|
|
||||||
def jsonrpc_check_first_run(self):
|
def jsonrpc_is_first_run(self):
|
||||||
try:
|
try:
|
||||||
d = self.session.wallet.is_first_run()
|
d = self.session.wallet.is_first_run()
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Add table
Reference in a new issue