From 11a4be737da39732605858b9223b85796452ff47 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Wed, 30 Sep 2015 00:17:28 +0100 Subject: [PATCH] [Bindings/Py] Add missing move_flags_t to torrent_handle --- bindings/python/src/torrent_handle.cpp | 7 +++++++ 1 file changed, 7 insertions(+) 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) + ; }