another python binding fix
This commit is contained in:
parent
967379e324
commit
02b3a5e515
|
@ -650,7 +650,7 @@ void bind_session()
|
||||||
init<fingerprint, int, boost::uint32_t>((
|
init<fingerprint, int, boost::uint32_t>((
|
||||||
arg("fingerprint")=fingerprint("LT",0,1,0,0)
|
arg("fingerprint")=fingerprint("LT",0,1,0,0)
|
||||||
, arg("flags")=lt::session::start_default_features | lt::session::add_default_plugins
|
, arg("flags")=lt::session::start_default_features | lt::session::add_default_plugins
|
||||||
, arg("alert_mask")=alert::error_notification))
|
, arg("alert_mask")=int(alert::error_notification)))
|
||||||
)
|
)
|
||||||
.def("post_torrent_updates", allow_threads(<::session::post_torrent_updates))
|
.def("post_torrent_updates", allow_threads(<::session::post_torrent_updates))
|
||||||
.def("outgoing_ports", &outgoing_ports)
|
.def("outgoing_ports", &outgoing_ports)
|
||||||
|
|
Loading…
Reference in New Issue