add default argument to python binding for post_torrent_updates

This commit is contained in:
arvidn 2016-07-16 19:23:23 -07:00
parent bed412c66d
commit c0d7650926
1 changed files with 1 additions and 1 deletions

View File

@ -772,7 +772,7 @@ void bind_session()
, arg("alert_mask")=int(alert::error_notification))) , arg("alert_mask")=int(alert::error_notification)))
) )
#endif #endif
.def("post_torrent_updates", allow_threads(&lt::session::post_torrent_updates)) .def("post_torrent_updates", allow_threads(&lt::session::post_torrent_updates), arg("flags") = 0xffffffff)
.def("post_session_stats", allow_threads(&lt::session::post_session_stats)) .def("post_session_stats", allow_threads(&lt::session::post_session_stats))
.def("outgoing_ports", &outgoing_ports) .def("outgoing_ports", &outgoing_ports)
.def("is_listening", allow_threads(&lt::session::is_listening)) .def("is_listening", allow_threads(&lt::session::is_listening))