Merge pull request #200 from cas--/Issue/Fix_missing_move_flags

[Bindings/Py] Add missing move_flags_t to torrent_handle
This commit is contained in:
Arvid Norberg 2015-10-02 23:30:09 -04:00
commit fe928abce1
1 changed files with 7 additions and 0 deletions

View File

@ -10,6 +10,7 @@
#include <libtorrent/entry.hpp>
#include <libtorrent/peer_info.hpp>
#include "libtorrent/announce_entry.hpp"
#include <libtorrent/storage.hpp>
#include <boost/lexical_cast.hpp>
#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>("move_flags_t")
.value("always_replace_files", always_replace_files)
.value("fail_if_exist", fail_if_exist)
.value("dont_replace", dont_replace)
;
}