diff --git a/bindings/python/src/session.cpp b/bindings/python/src/session.cpp index 3fe26743d..614ac163a 100644 --- a/bindings/python/src/session.cpp +++ b/bindings/python/src/session.cpp @@ -772,7 +772,7 @@ void bind_session() , arg("alert_mask")=int(alert::error_notification))) ) #endif - .def("post_torrent_updates", allow_threads(<::session::post_torrent_updates)) + .def("post_torrent_updates", allow_threads(<::session::post_torrent_updates), arg("flags") = 0xffffffff) .def("post_session_stats", allow_threads(<::session::post_session_stats)) .def("outgoing_ports", &outgoing_ports) .def("is_listening", allow_threads(<::session::is_listening))