before is_running is true all other methods return a failure
This commit is contained in:
parent
a7fb434f9f
commit
4355b799cb
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class LBRYDaemon(jsonrpc.JSONRPC):
|
||||||
if functionPath != 'is_running':
|
if functionPath != 'is_running':
|
||||||
request.setHeader("Access-Control-Allow-Origin", "*")
|
request.setHeader("Access-Control-Allow-Origin", "*")
|
||||||
request.setHeader("content-type", "text/json")
|
request.setHeader("content-type", "text/json")
|
||||||
s = jsonrpclib.dumps("Starting up", version=version)
|
s = jsonrpclib.Fault(self.FAILURE, "error")
|
||||||
request.setHeader("content-length", str(len(s)))
|
request.setHeader("content-length", str(len(s)))
|
||||||
request.write(s)
|
request.write(s)
|
||||||
request.finish()
|
request.finish()
|
||||||
|
|
Loading…
Add table
Reference in a new issue