Skip to content

Commit 0c2e427

Browse files
committed
chore: format
1 parent 80ad5fd commit 0c2e427

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/open_webui/routers/retrieval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2507,7 +2507,7 @@ def _validate_collection_access(collection_names: list[str], user) -> None:
25072507
detail=ERROR_MESSAGES.ACCESS_PROHIBITED,
25082508
)
25092509
elif name.startswith("file-"):
2510-
file_id = name[len("file-"):]
2510+
file_id = name[len("file-") :]
25112511
if not has_access_to_file(
25122512
file_id=file_id,
25132513
access_type="read",

0 commit comments

Comments
 (0)