fix python binding for peer_info::connection_type
This commit is contained in:
@ -94,7 +94,7 @@ void bind_peer_info()
|
||||
.def_readonly("downloading_progress", &peer_info::downloading_progress)
|
||||
.def_readonly("downloading_total", &peer_info::downloading_total)
|
||||
.add_property("client", get_peer_info_client)
|
||||
.def_readonly("connection_type", &peer_info::connection_type)
|
||||
.add_property("connection_type", make_getter(&peer_info::connection_type, by_value()))
|
||||
.def_readonly("pending_disk_bytes", &peer_info::pending_disk_bytes)
|
||||
.def_readonly("send_quota", &peer_info::send_quota)
|
||||
.def_readonly("receive_quota", &peer_info::receive_quota)
|
||||
|
Reference in New Issue
Block a user