From 2454919be3eaff2763cfda1a5db641170ed47659 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 21 Jan 2009 23:41:26 +0000 Subject: [PATCH] fixed typo in python binding --- ChangeLog | 2 ++ bindings/python/src/torrent_handle.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6d1b98c2a..611117578 100644 --- a/ChangeLog +++ b/ChangeLog @@ -45,6 +45,8 @@ release 0.14.2 * fixed disk cache expiry settings bug (if changed, it would be set to the cache size) * fixed bug in http_connection when binding to a particular IP + * fixed typo in python binding (torrent_handle::piece_prioritize should + be torrent_handle::piece_priorities) release 0.14.1 diff --git a/bindings/python/src/torrent_handle.cpp b/bindings/python/src/torrent_handle.cpp index 73079a158..dfadb0571 100644 --- a/bindings/python/src/torrent_handle.cpp +++ b/bindings/python/src/torrent_handle.cpp @@ -317,7 +317,7 @@ void bind_torrent_handle() .def("piece_priority", _(piece_priority0)) .def("piece_priority", _(piece_priority1)) .def("prioritize_pieces", prioritize_pieces) - .def("piece_prioritize", piece_priorities) + .def("piece_priorities", piece_priorities) .def("prioritize_files", prioritize_files) .def("file_priorities", file_priorities) .def("use_interface", &torrent_handle::use_interface)