Fix linting
This commit is contained in:
parent
35d4503677
commit
adb4ca9294
3 changed files with 28 additions and 28 deletions
|
|
@ -559,7 +559,7 @@ def create_document_routes(
|
||||||
if file_path.exists():
|
if file_path.exists():
|
||||||
return InsertResponse(
|
return InsertResponse(
|
||||||
status="duplicated",
|
status="duplicated",
|
||||||
message=f"File '{file.filename}' already exists in the input directory."
|
message=f"File '{file.filename}' already exists in the input directory.",
|
||||||
)
|
)
|
||||||
|
|
||||||
with open(file_path, "wb") as buffer:
|
with open(file_path, "wb") as buffer:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue