commit c941b7a9e2f393148f573909314e1cf2d2019c09 Author: Ken VanDine Date: Fri May 13 16:09:26 2011 +0200 bugfix: Use the correct callback for rejected sessions (fdo #37098) diff --git a/papyon/p2p.py b/papyon/p2p.py index ed6071a..83ddfa2 100644 --- a/papyon/p2p.py +++ b/papyon/p2p.py @@ -316,7 +316,7 @@ class MSNObjectStore(P2PSessionHandler): self._handles[session].append(session.connect("completed", self._on_session_completed)) self._handles[session].append(session.connect("rejected", - self._on_session_completed)) + self._on_session_rejected)) def _on_session_completed(self, session, data): if session in self._callbacks: