expose tracker_alert::local_endpoint in python bindings

This commit is contained in:
Steven Siloti 2018-04-04 19:38:12 -07:00 committed by Arvid Norberg
parent 32b2de8f17
commit 59d1c1f067
1 changed files with 1 additions and 0 deletions

View File

@ -346,6 +346,7 @@ void bind_alert()
#ifndef TORRENT_NO_DEPRECATE
.def_readonly("url", &tracker_alert::url)
#endif
.add_property("local_endpoint", make_getter(&tracker_alert::local_endpoint, by_value()))
.def("tracker_url", &tracker_alert::tracker_url)
;