Skip to content

Commit

Permalink
make dht_get_peers_reply_alert::peers a function in python binding
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Apr 15, 2016
1 parent 26d1a1c commit 249dff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/python/src/alert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
;
}

0 comments on commit 249dff6

Please sign in to comment.