mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +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
|
# wait for it to fire before sending the RPC_RESPONSE
|
||||||
if isinstance(ret, defer.Deferred):
|
if isinstance(ret, defer.Deferred):
|
||||||
def on_success(result):
|
def on_success(result):
|
||||||
self.sendData((RPC_RESPONSE, request_id, ret))
|
self.sendData((RPC_RESPONSE, request_id, result))
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def on_fail(failure):
|
def on_fail(failure):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue