fixed typo in python binding

This commit is contained in:
Arvid Norberg 2012-03-11 16:21:51 +00:00
parent ba4286ea2d
commit e8abac3a4b
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ void bind_create_torrent()
class_<create_torrent>("create_torrent", no_init)
.def(init<file_storage&>())
.def(init<file_storage&, torrent_info const&>(arg("ti")))
.def(init<torrent_info const&>(arg("ti")))
.def(init<file_storage&, int, int, int>((arg("storage"), arg("piece_size") = 0
, arg("pad_file_limit") = -1, arg("flags") = int(libtorrent::create_torrent::optimize))))