Revert "fix(deepdoc): keep zero and false Excel cells in __call__" (#16366)

Reverts infiniflow/ragflow#16318
This commit is contained in:
Wang Qi
2026-06-25 19:56:47 +08:00
committed by GitHub
parent 8d3c3f868c
commit 5defb4e7d6
2 changed files with 1 additions and 36 deletions

View File

@@ -283,7 +283,7 @@ class RAGFlowExcelParser:
for r in list(rows[1:]):
fields = []
for i, c in enumerate(r):
if c.value is None:
if not c.value:
continue
t = str(ti[i].value) if i < len(ti) else ""
t += ("" if t else "") + str(c.value)