Quellcode durchsuchen

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

Signed-off-by: binren <zhangbr@elab-plus.com>
binren vor 5 Jahren
Ursprung
Commit
c542d16080
2 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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