forked from premiere/premiere-libtorrent
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:
parent
680eddf3d4
commit
e4fd45e109
|
@ -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(<::session::status))
|
.def("status", allow_threads(<::session::status))
|
||||||
.def("settings", &session_get_settings)
|
.def("settings", <::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)
|
||||||
|
|
Loading…
Reference in New Issue