forked from premiere/premiere-libtorrent
added default arguments to remove_torrent in the python binding
This commit is contained in:
parent
1f317900f4
commit
7ea28d9982
|
@ -209,7 +209,8 @@ void bind_session()
|
||||||
)
|
)
|
||||||
, session_add_torrent_doc
|
, session_add_torrent_doc
|
||||||
)
|
)
|
||||||
.def("remove_torrent", allow_threads(&session::remove_torrent), session_remove_torrent_doc)
|
.def("remove_torrent", allow_threads(&session::remove_torrent), arg("option") = session::none
|
||||||
|
, session_remove_torrent_doc)
|
||||||
.def(
|
.def(
|
||||||
"set_download_rate_limit", allow_threads(&session::set_download_rate_limit)
|
"set_download_rate_limit", allow_threads(&session::set_download_rate_limit)
|
||||||
, session_set_download_rate_limit_doc
|
, session_set_download_rate_limit_doc
|
||||||
|
|
Loading…
Reference in New Issue