bug fix for file_seed
cannot return a deferred in inlineCallbacks, it must be a value
This commit is contained in:
parent
1b2c46e224
commit
8075ced1af
1 changed files with 2 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue