diff --git a/bindings/python/src/alert.cpp b/bindings/python/src/alert.cpp index 85a4fae2f..01b73ac61 100644 --- a/bindings/python/src/alert.cpp +++ b/bindings/python/src/alert.cpp @@ -274,5 +274,11 @@ void bind_alert() class_, noncopyable>( "torrent_resumed_alert", no_init - ); + ); + + class_, noncopyable>( + "state_changed_alert", no_init + ) + .def_readonly("state", &state_changed_alert::state) + ; }