diff --git a/bindings/python/src/session.cpp b/bindings/python/src/session.cpp index 187f4fff5..294d9d534 100644 --- a/bindings/python/src/session.cpp +++ b/bindings/python/src/session.cpp @@ -337,6 +337,9 @@ void bind_session() .def("set_ip_filter", allow_threads(&session::set_ip_filter), session_set_ip_filter_doc) .def("find_torrent", allow_threads(&session::find_torrent)) .def("get_torrents", &get_torrents) + .def("pause", allow_threads(&session::pause)) + .def("resume", allow_threads(&session::resume)) + .def("is_paused", allow_threads(&session::is_paused)) ; register_ptr_to_python >();