diff --git a/bindings/python/src/torrent_handle.cpp b/bindings/python/src/torrent_handle.cpp index 728382f73..f9a4ea84c 100644 --- a/bindings/python/src/torrent_handle.cpp +++ b/bindings/python/src/torrent_handle.cpp @@ -10,6 +10,7 @@ #include #include #include "libtorrent/announce_entry.hpp" +#include #include #include "gil.hpp" @@ -524,4 +525,10 @@ void bind_torrent_handle() .value("query_pieces", torrent_handle::query_pieces) .value("query_verified_pieces", torrent_handle::query_verified_pieces) ; + + enum_("move_flags_t") + .value("always_replace_files", always_replace_files) + .value("fail_if_exist", fail_if_exist) + .value("dont_replace", dont_replace) + ; }