diff --git a/bindings/python/src/create_torrent.cpp b/bindings/python/src/create_torrent.cpp index 85f736dfc..f3b6e35a6 100644 --- a/bindings/python/src/create_torrent.cpp +++ b/bindings/python/src/create_torrent.cpp @@ -103,6 +103,7 @@ void bind_create_torrent() class_("create_torrent", no_init) .def(init()) + .def(init(arg("ti"))) .def(init((arg("storage"), arg("piece_size") = 0 , arg("pad_file_limit") = -1, arg("flags") = int(libtorrent::create_torrent::optimize))))