From 7ea28d9982ae2630f512865d03b7aec54d8411d6 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 10 Mar 2008 07:31:56 +0000 Subject: [PATCH] added default arguments to remove_torrent in the python binding --- bindings/python/src/session.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bindings/python/src/session.cpp b/bindings/python/src/session.cpp index 5f6c4a66a..3b4a891c0 100755 --- a/bindings/python/src/session.cpp +++ b/bindings/python/src/session.cpp @@ -209,7 +209,8 @@ void bind_session() ) , session_add_torrent_doc ) - .def("remove_torrent", allow_threads(&session::remove_torrent), session_remove_torrent_doc) + .def("remove_torrent", allow_threads(&session::remove_torrent), arg("option") = session::none + , session_remove_torrent_doc) .def( "set_download_rate_limit", allow_threads(&session::set_download_rate_limit) , session_set_download_rate_limit_doc