Skip to content

Commit 8cad00d

Browse files
fix: error for filetype word
Signed-off-by: thiswillbeyourgithub <[email protected]>
1 parent c98d0e9 commit 8cad00d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

wdoc/utils/loaders/word.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ def load_word(
4242
)
4343
loader = UnstructuredWordDocumentLoader(path)
4444
content2 = loader.load()
45-
docs = [Document(page_content=content2)]
4645
if isinstance(content2, str):
4746
docs = [Document(page_content=content2)]
4847
else:

0 commit comments

Comments
 (0)