From 692ff7a97988bf59daa76727df52da120b077eca Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sun, 20 Jul 2008 20:18:27 +0000 Subject: [PATCH] Add session::settings() to bindings --- libtorrent/bindings/python/src/session.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libtorrent/bindings/python/src/session.cpp b/libtorrent/bindings/python/src/session.cpp index 4c9e65e42..7d73eab19 100755 --- a/libtorrent/bindings/python/src/session.cpp +++ b/libtorrent/bindings/python/src/session.cpp @@ -309,6 +309,7 @@ void bind_session() , session_num_connections_doc ) .def("set_settings", allow_threads(&session::set_settings), session_set_settings_doc) + .def("settings", allow_threads(&session::settings), return_value_policy()) #ifndef TORRENT_DISABLE_ENCRYPTION .def("set_pe_settings", allow_threads(&session::set_pe_settings), session_set_pe_settings_doc) .def("get_pe_settings", allow_threads(&session::get_pe_settings), return_value_policy())