From c0d765092674d582cc3de1cc2d229a510428f8ae Mon Sep 17 00:00:00 2001 From: arvidn Date: Sat, 16 Jul 2016 19:23:23 -0700 Subject: [PATCH] add default argument to python binding for post_torrent_updates --- bindings/python/src/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))