From 4a2bb465f0d2f8eb1c733c30f9b83203436181d0 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Mon, 17 Sep 2007 04:08:47 +0000 Subject: [PATCH] Fix libtorrent extensions from crashing on add_torrent. --- libtorrent/bindings/python/src/extensions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libtorrent/bindings/python/src/extensions.cpp b/libtorrent/bindings/python/src/extensions.cpp index f8fb30bdf..10d18ff94 100755 --- a/libtorrent/bindings/python/src/extensions.cpp +++ b/libtorrent/bindings/python/src/extensions.cpp @@ -142,6 +142,7 @@ void bind_extensions() // TODO move to it's own file class_("peer_connection", no_init); + class_ >("torrent_plugin", no_init); def("create_ut_pex_plugin", create_ut_pex_plugin); def("create_metadata_plugin", create_metadata_plugin); }