From bfbecd919657a458e4af9c75a5b6be3ffd6586ec Mon Sep 17 00:00:00 2001 From: Kay Kurokawa Date: Mon, 4 Dec 2017 16:01:19 -0500 Subject: [PATCH] fix use of return in inlinecallback, change to defer.returnValue(None) --- 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 9931d045b..ebd6fb94a 100644 --- a/lbrynet/daemon/Daemon.py +++ b/lbrynet/daemon/Daemon.py @@ -298,7 +298,7 @@ class Daemon(AuthJSONRPCServer): # automatically renew claims # auto renew is turned off if 0 or some negative number if self.auto_renew_claim_height_delta < 1: - return + defer.returnValue(None) log.debug("Renewing claim") h = self.session.wallet.network.get_local_height() + self.auto_renew_claim_height_delta results = yield self.session.wallet.claim_renew_all_before_expiration(h)