From 162275992b01758e094c1d7346cd944b1be93b36 Mon Sep 17 00:00:00 2001 From: Jack Date: Fri, 8 Apr 2016 23:52:43 -0400 Subject: [PATCH] return fail from check_first_run when is_first_run isn't callable --- lbrynet/lbrynet_daemon/LBRYDaemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/lbrynet_daemon/LBRYDaemon.py b/lbrynet/lbrynet_daemon/LBRYDaemon.py index 63d4b2dcc..093cc54f4 100644 --- a/lbrynet/lbrynet_daemon/LBRYDaemon.py +++ b/lbrynet/lbrynet_daemon/LBRYDaemon.py @@ -849,7 +849,7 @@ class LBRYDaemon(jsonrpc.JSONRPC): except: d = defer.fail(None) - d.addCallbacks(lambda r: self._render_response(r, OK_CODE), lambda _: self._render_response("Loading", OK_CODE)) + d.addCallbacks(lambda r: self._render_response(r, OK_CODE), lambda _: server.failure) return d