diff --git a/bindings/python/src/session_settings.cpp b/bindings/python/src/session_settings.cpp index 7c000e251..058f5161e 100644 --- a/bindings/python/src/session_settings.cpp +++ b/bindings/python/src/session_settings.cpp @@ -197,7 +197,9 @@ void bind_session_settings() enum_("choking_algorithm_t") .value("fixed_slots_choker", settings_pack::fixed_slots_choker) - .value("auto_expand_choker", settings_pack::auto_expand_choker) +#ifndef TORRENT_NO_DEPRECATE + .value("auto_expand_choker", settings_pack::rate_based_choker) +#endif .value("rate_based_choker", settings_pack::rate_based_choker) .value("bittyrant_choker", settings_pack::bittyrant_choker) ;