|
@@ -485,7 +485,7 @@ class Mvp:
|
|
boy = 0
|
|
boy = 0
|
|
girl = 0
|
|
girl = 0
|
|
for people in self.people_info_1:
|
|
for people in self.people_info_1:
|
|
- if people.sex is not None and city == people.city and crowd == people.crowd and age == people.age:
|
|
|
|
|
|
+ if people.sex is not None and city == people.city and crowd in people.crowd and age == people.age:
|
|
if people.sex == '1':
|
|
if people.sex == '1':
|
|
boy += 1
|
|
boy += 1
|
|
if people.sex == '2':
|
|
if people.sex == '2':
|