|
@@ -1835,7 +1835,7 @@ def get_recommend_params(recommend_type, ab_exp_info, ab_info_data, mid, app_typ
|
|
flow_pool_abtest_group = 'control_group'
|
|
flow_pool_abtest_group = 'control_group'
|
|
flow_pool_ab_key = None
|
|
flow_pool_ab_key = None
|
|
for key, key_items in flow_pool_abtest_config.items():
|
|
for key, key_items in flow_pool_abtest_config.items():
|
|
- if type(key_items) == 'dict':
|
|
|
|
|
|
+ if isinstance(key_items, dict) is True:
|
|
for ab_key, ab_items in key_items.items():
|
|
for ab_key, ab_items in key_items.items():
|
|
if int(flow_pool_id_choice) in ab_items:
|
|
if int(flow_pool_id_choice) in ab_items:
|
|
flow_pool_abtest_group = key
|
|
flow_pool_abtest_group = key
|