add default value for flags argument to add_files() in python bindings

This commit is contained in:
Arvid Norberg 2010-10-28 16:28:18 +00:00
parent fc1b44b560
commit 7189fc6332
1 changed files with 1 additions and 1 deletions

View File

@ -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);