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)