diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-03-31 05:52:23 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-03-31 05:52:23 +0000 |
commit | 14296cd49c66cc6ad2f0158c1d657aba66975e50 (patch) | |
tree | 2150f3afe84b807544bd3ecb31a6ce03cfa4df96 /contrib/TorControl.py | |
parent | 13bd755ae65c5978243ad6e7028a478dc51b7547 (diff) | |
download | tor-14296cd49c66cc6ad2f0158c1d657aba66975e50.tar.gz tor-14296cd49c66cc6ad2f0158c1d657aba66975e50.zip |
First cut at server-poker.
svn:r3924
Diffstat (limited to 'contrib/TorControl.py')
-rwxr-xr-x | contrib/TorControl.py | 2 |
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)") |