From 36989f19740e316e156c61864c798f5850d7ed9e Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Thu, 30 Aug 2018 17:29:49 -0400 Subject: [PATCH] removed unnecessary defer.returnValue() --- lbrynet/daemon/Daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/daemon/Daemon.py b/lbrynet/daemon/Daemon.py index b46b606e1..fcec42bd4 100644 --- a/lbrynet/daemon/Daemon.py +++ b/lbrynet/daemon/Daemon.py @@ -699,7 +699,7 @@ class Daemon(AuthJSONRPCServer): """ log.info("Shutting down lbrynet daemon") reactor.callLater(0.1, reactor.fireSystemEvent, "shutdown") - defer.returnValue("Shutting down") + return "Shutting down" @defer.inlineCallbacks def jsonrpc_status(self):