mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-12-16 09:20:53 +00:00
Fix linting
This commit is contained in:
parent
35d4503677
commit
adb4ca9294
@ -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…
x
Reference in New Issue
Block a user