mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 15:31:05 +08:00
fix(excel_parser): keep zero-valued cells when building Excel text chunks (#16287)
This commit is contained in:
@@ -283,7 +283,7 @@ class RAGFlowExcelParser:
|
||||
for r in list(rows[1:]):
|
||||
fields = []
|
||||
for i, c in enumerate(r):
|
||||
if not c.value:
|
||||
if c.value is None or str(c.value).strip() == "":
|
||||
continue
|
||||
t = str(ti[i].value) if i < len(ti) else ""
|
||||
t += (":" if t else "") + str(c.value)
|
||||
|
||||
Reference in New Issue
Block a user