removed unnecessary defer.returnValue()

This commit is contained in:
Lex Berezhny 2018-08-30 17:29:49 -04:00
parent 1d40ec34a2
commit 36989f1974

View file

@ -699,7 +699,7 @@ class Daemon(AuthJSONRPCServer):
""" """
log.info("Shutting down lbrynet daemon") log.info("Shutting down lbrynet daemon")
reactor.callLater(0.1, reactor.fireSystemEvent, "shutdown") reactor.callLater(0.1, reactor.fireSystemEvent, "shutdown")
defer.returnValue("Shutting down") return "Shutting down"
@defer.inlineCallbacks @defer.inlineCallbacks
def jsonrpc_status(self): def jsonrpc_status(self):