Browse Source

excel_util: 标签初始化逻辑调整

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

+ 1 - 1
excel_util.py

@@ -98,7 +98,7 @@ class ExcelUtil:
         result = {}
         datas.sort(key=lambda obj: obj[0])
         for tag_type, sub_datas in groupby(datas, key=lambda obj: obj[0]):
-            if tag_type == '用户画像-审美偏好':
+            if tag_type not in no_need_module:
                 sub_list = [x for x in sub_datas]
                 sub_list.sort(key=lambda obj: obj[1])
                 sub_result = {}