From 415cd7fc4fedbfbcd743d944683617ea8bbc09af Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 30 Oct 2010 16:59:17 +0000 Subject: [PATCH] fixed typos in python binding --- bindings/python/src/torrent_handle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/python/src/torrent_handle.cpp b/bindings/python/src/torrent_handle.cpp index c01fa2c4c..aefab9cad 100644 --- a/bindings/python/src/torrent_handle.cpp +++ b/bindings/python/src/torrent_handle.cpp @@ -334,7 +334,7 @@ void bind_torrent_handle() .def("prioritize_files", &prioritize_files) .def("file_priorities", &file_priorities) .def("use_interface", &torrent_handle::use_interface) - .def("save_resume_data", _(&torrent_handle::save_resume_data), arg("flags" = 0)) + .def("save_resume_data", _(&torrent_handle::save_resume_data), arg("flags") = 0) .def("need_save_resume_data", _(&torrent_handle::need_save_resume_data)) .def("force_reannounce", _(force_reannounce0)) .def("force_reannounce", &force_reannounce) @@ -366,7 +366,7 @@ void bind_torrent_handle() #endif ; - enum_("pause_flags_t") + enum_("pause_flags_t") .value("graceful_pause", torrent_handle::graceful_pause) ;