Browse Source

mvp: 人群分类判断修改

Signed-off-by: binren <zhangbr@elab-plus.com>
binren 5 years ago
parent
commit
1128f230f7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mvp.py

+ 1 - 1
mvp.py

@@ -485,7 +485,7 @@ class Mvp:
                     boy = 0
                     girl = 0
                     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':
                                 boy += 1
                             if people.sex == '2':