Procházet zdrojové kódy

Fix: When Excel is a formula, the parsed result is a formula, but cannot be correctly parsed as a value type (#6613)

### What problem does this PR solve?

Fix: When Excel is a formula, the parsed result is a formula, but cannot
be correctly parsed as a value type

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

Co-authored-by: tangyu <1@1.com>
tags/v0.18.0
donblack01 před 7 měsíci
rodič
revize
0b48a2e0d1
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      deepdoc/parser/excel_parser.py

+ 1
- 1
deepdoc/parser/excel_parser.py Zobrazit soubor

@@ -45,7 +45,7 @@ class RAGFlowExcelParser:
raise Exception(f"****wxy: Failed to parse CSV and convert to Excel Workbook: {e_csv}")

try:
return load_workbook(file_like_object)
return load_workbook(file_like_object,data_only= True)
except Exception as e:
logging.info(f"****wxy: openpyxl load error: {e}, try pandas instead")
try:

Načítá se…
Zrušit
Uložit