From e4fd45e109f9572a27500637ad5283a6fb32c9fc Mon Sep 17 00:00:00 2001 From: Steven Siloti Date: Sat, 16 Apr 2016 12:43:26 -0700 Subject: [PATCH] fix the fix for python binding backwards compat f409a5ab caused session.settings to return a setting pack dict rather than the 1.0 compatibile session_settings class. --- bindings/python/src/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/src/session.cpp b/bindings/python/src/session.cpp index 918be8763..972a97cb1 100644 --- a/bindings/python/src/session.cpp +++ b/bindings/python/src/session.cpp @@ -810,7 +810,7 @@ void bind_session() #ifndef TORRENT_NO_DEPRECATE .def("add_feed", &add_feed) .def("status", allow_threads(<::session::status)) - .def("settings", &session_get_settings) + .def("settings", <::session::settings) .def("set_settings", &session_set_settings) #endif .def("get_settings", &session_get_settings)