summaryrefslogtreecommitdiff
path: root/contrib/TorControl.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/TorControl.py')
-rwxr-xr-xcontrib/TorControl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/TorControl.py b/contrib/TorControl.py
index 5a63ad4187..815ceecc83 100755
--- a/contrib/TorControl.py
+++ b/contrib/TorControl.py
@@ -206,7 +206,7 @@ def receive_reply(s, expected=None):
_, tp, body = receive_message(s)
if tp == MSG_TYPE.EVENT:
if _event_handler is not None:
- _event_handler(tp, body)
+ _event_handler(body)
elif tp == MSG_TYPE.ERROR:
if len(body)<2:
raise ProtocolError("(Truncated error message)")