Parcourir la source

flask_app: 标签数据读取时过滤掉无序号的

Signed-off-by: binren <zhangbr@elab-plus.com>
binren il y a 5 ans
Parent
commit
c542d16080
2 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      excel_util.py
  2. BIN
      resources/mvp.xlsx

+ 1 - 1
excel_util.py

@@ -85,7 +85,7 @@ class ExcelUtil:
                 tag_type = tag_type_1
             if tag:
                 tag_name = tag
-            if values is not None:
+            if values is not None and values != '找不到':
                 datas.append([tag_type, tag_name, values, corr])
         result = {}
         datas.sort(key=lambda obj: obj[0])

BIN
resources/mvp.xlsx