make dht_get_peers_reply_alert::peers a function in python binding

This commit is contained in:
arvidn 2016-04-14 19:26:06 -04:00 committed by arvidn
parent 26d1a1cf78
commit 249dff6014
1 changed files with 1 additions and 1 deletions

View File

@ -772,6 +772,6 @@ void bind_alert()
"dht_get_peers_reply_alert", no_init)
.def_readonly("info_hash", &dht_get_peers_reply_alert::info_hash)
.def("num_peers", &dht_get_peers_reply_alert::num_peers)
.add_property("peers", &dht_get_peers_reply_alert_peers)
.def("peers", &dht_get_peers_reply_alert_peers)
;
}