From 81c730fe549debdca32455cc3c932c70a50e8574 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 5 Mar 2011 02:31:12 +0000 Subject: [PATCH] fix torrent_handle.status in python binding --- bindings/python/src/torrent_handle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/src/torrent_handle.cpp b/bindings/python/src/torrent_handle.cpp index 9fbffcb63..59abafb72 100644 --- a/bindings/python/src/torrent_handle.cpp +++ b/bindings/python/src/torrent_handle.cpp @@ -285,7 +285,7 @@ void bind_torrent_handle() class_("torrent_handle") .def("get_peer_info", get_peer_info) - .def("status", _(&torrent_handle::status)) + .def("status", _(&torrent_handle::status), arg("flags") = 0xffffffff) .def("get_download_queue", get_download_queue) .def("file_progress", file_progress) .def("trackers", trackers)