forked from premiere/premiere-libtorrent
Add error to torrent_status
This commit is contained in:
parent
6db61166be
commit
4d021f4cea
|
@ -74,6 +74,7 @@ void bind_torrent_status()
|
||||||
.def_readonly("seeding_time", &torrent_status::seeding_time)
|
.def_readonly("seeding_time", &torrent_status::seeding_time)
|
||||||
.def_readonly("seed_rank", &torrent_status::seed_rank)
|
.def_readonly("seed_rank", &torrent_status::seed_rank)
|
||||||
.def_readonly("last_scrape", &torrent_status::last_scrape)
|
.def_readonly("last_scrape", &torrent_status::last_scrape)
|
||||||
|
.def_readonly("error", &torrent_status::error)
|
||||||
;
|
;
|
||||||
|
|
||||||
enum_<torrent_status::state_t>("states")
|
enum_<torrent_status::state_t>("states")
|
||||||
|
|
Loading…
Reference in New Issue