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.
This commit is contained in:
Steven Siloti 2016-04-16 12:43:26 -07:00
parent 680eddf3d4
commit e4fd45e109
1 changed files with 1 additions and 1 deletions

View File

@ -810,7 +810,7 @@ void bind_session()
#ifndef TORRENT_NO_DEPRECATE #ifndef TORRENT_NO_DEPRECATE
.def("add_feed", &add_feed) .def("add_feed", &add_feed)
.def("status", allow_threads(&lt::session::status)) .def("status", allow_threads(&lt::session::status))
.def("settings", &session_get_settings) .def("settings", &lt::session::settings)
.def("set_settings", &session_set_settings) .def("set_settings", &session_set_settings)
#endif #endif
.def("get_settings", &session_get_settings) .def("get_settings", &session_get_settings)