|
@@ -232,10 +232,10 @@ class Mvp:
|
|
|
|
|
|
if str(nld).find(',') != -1:
|
|
|
nld_1 = list(str(nld).split(','))
|
|
|
- if len(nld) > 0:
|
|
|
- nld_1 = nld[0]
|
|
|
+ if len(nld_1) > 0:
|
|
|
+ nld = nld_1[0]
|
|
|
else:
|
|
|
- nld_1 = '无年龄'
|
|
|
+ pass
|
|
|
|
|
|
crowd = []
|
|
|
if str(testcaseid).find(',') != -1:
|
|
@@ -262,7 +262,7 @@ class Mvp:
|
|
|
crowd.extend(self.get_people_uuid_by_sub_option_ids(sub_option_ids_1))
|
|
|
if city is None:
|
|
|
city = '无城市'
|
|
|
- people_info = PeopleInfo(uuid, city, nld_1, sex, crowd)
|
|
|
+ people_info = PeopleInfo(uuid, city, nld, sex, crowd)
|
|
|
people_infos.append(people_info)
|
|
|
return people_infos
|
|
|
|