Fix linting

This commit is contained in:
yangdx
2025-03-28 16:49:35 +08:00
parent 35d4503677
commit adb4ca9294
3 changed files with 28 additions and 28 deletions

View File

@@ -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: