From 7189fc6332ffd172bcf4901c6e2eb026c4158978 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 28 Oct 2010 16:28:18 +0000 Subject: [PATCH] add default value for flags argument to add_files() in python bindings --- bindings/python/src/create_torrent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/src/create_torrent.cpp b/bindings/python/src/create_torrent.cpp index 972269d6d..50f5e0853 100644 --- a/bindings/python/src/create_torrent.cpp +++ b/bindings/python/src/create_torrent.cpp @@ -109,7 +109,7 @@ void bind_create_torrent() .def("priv", &create_torrent::priv) ; - def("add_files", add_files0); + def("add_files", add_files0, (arg("fs"), arg("path"), arg("flags") = 0)); def("set_piece_hashes", set_piece_hashes0); def("set_piece_hashes", set_piece_hashes_callback);