diff --git a/bindings/python/src/torrent_info.cpp b/bindings/python/src/torrent_info.cpp index 322f767fc..ce459f044 100644 --- a/bindings/python/src/torrent_info.cpp +++ b/bindings/python/src/torrent_info.cpp @@ -123,6 +123,7 @@ void bind_torrent_info() .def("file_at", &torrent_info::file_at, return_internal_reference<>()) .def("file_at_offset", &torrent_info::file_at_offset) .def("files", &files, (arg("storage")=false)) + .def("rename_file", &torrent_info::rename_file) .def("priv", &torrent_info::priv) .def("trackers", range(begin_trackers, end_trackers))