mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-24 10:18:51 +00:00
Fix typo
This commit is contained in:
parent
a8b83281ab
commit
34def2524f
@ -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…
x
Reference in New Issue
Block a user