forked from premiere/premiere-libtorrent
fixed python scrape_tracker arguments (#1160)
This commit is contained in:
parent
2e0140b6f6
commit
ab846d2d31
|
@ -460,7 +460,7 @@ void bind_torrent_handle()
|
|||
#ifndef TORRENT_DISABLE_DHT
|
||||
.def("force_dht_announce", _(&torrent_handle::force_dht_announce))
|
||||
#endif
|
||||
.def("scrape_tracker", _(&torrent_handle::scrape_tracker))
|
||||
.def("scrape_tracker", _(&torrent_handle::scrape_tracker), arg("index") = -1)
|
||||
.def("set_upload_mode", _(&torrent_handle::set_upload_mode))
|
||||
.def("set_share_mode", _(&torrent_handle::set_share_mode))
|
||||
.def("flush_cache", &torrent_handle::flush_cache)
|
||||
|
|
Loading…
Reference in New Issue