fixed python scrape_tracker arguments (#1160)

This commit is contained in:
minus 2016-09-28 05:22:06 +02:00 committed by Arvid Norberg
parent 2e0140b6f6
commit ab846d2d31
1 changed files with 1 additions and 1 deletions

View File

@ -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)