From 8075ced1af88ba301fd34f033d73043edc5ce816 Mon Sep 17 00:00:00 2001 From: Job Evers-Meltzer Date: Wed, 11 Jan 2017 11:35:01 -0600 Subject: [PATCH] bug fix for file_seed cannot return a deferred in inlineCallbacks, it must be a value --- lbrynet/lbrynet_daemon/Daemon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lbrynet/lbrynet_daemon/Daemon.py b/lbrynet/lbrynet_daemon/Daemon.py index e5ee1bb51..829bc1bd3 100644 --- a/lbrynet/lbrynet_daemon/Daemon.py +++ b/lbrynet/lbrynet_daemon/Daemon.py @@ -1677,7 +1677,8 @@ class Daemon(AuthJSONRPCServer): msg = ( "File was already being seeded" if status == 'start' else "File was already stopped" ) - defer.returnValue(self._render_response(msg)) + response = yield self._render_response(msg) + defer.returnValue(response) @AuthJSONRPCServer.auth_required def jsonrpc_delete_lbry_file(self, p):