mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Fix typo
This commit is contained in:
parent
a8b83281ab
commit
34def2524f
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ class DelugeRPCProtocol(Protocol):
|
|||
# wait for it to fire before sending the RPC_RESPONSE
|
||||
if isinstance(ret, defer.Deferred):
|
||||
def on_success(result):
|
||||
self.sendData((RPC_RESPONSE, request_id, ret))
|
||||
self.sendData((RPC_RESPONSE, request_id, result))
|
||||
return result
|
||||
|
||||
def on_fail(failure):
|
||||
|
|
Loading…
Add table
Reference in a new issue