Skip to content

Commit f391548

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7bef71f commit f391548

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DocSum/docsum.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ async def read_text_from_file(file: UploadFile):
106106
"text/plain",
107107
"application/pdf",
108108
"application/octet-stream",
109-
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
109+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
110110
)
111111

112112
file_content = None
@@ -138,7 +138,7 @@ async def read_text_from_file(file: UploadFile):
138138
# read docx file
139139
if ctype in (
140140
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
141-
"application/octet-stream"
141+
"application/octet-stream",
142142
):
143143
file_content = docx2txt.process(tmp.name)
144144

0 commit comments

Comments
 (0)