another python binding fix

This commit is contained in:
Arvid Norberg 2015-04-04 19:27:40 +00:00
parent 967379e324
commit 02b3a5e515
1 changed files with 1 additions and 1 deletions

View File

@ -650,7 +650,7 @@ void bind_session()
init<fingerprint, int, boost::uint32_t>((
arg("fingerprint")=fingerprint("LT",0,1,0,0)
, 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(&lt::session::post_torrent_updates))
.def("outgoing_ports", &outgoing_ports)