def got_peer(self, connection): PiecePicker.got_peer(self, connection) self.peer_connections[connection]["interesting"] = {}