We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e338677 commit 63d1eefCopy full SHA for 63d1eef
backend/danswer/file_processing/extract_file_text.py
@@ -295,7 +295,7 @@ def pptx_to_text(file: IO[Any]) -> str:
295
296
297
def xlsx_to_text(file: IO[Any]) -> str:
298
- workbook = openpyxl.load_workbook(file)
+ workbook = openpyxl.load_workbook(file, read_only=True)
299
text_content = []
300
for sheet in workbook.worksheets:
301
sheet_string = "\n".join(
0 commit comments