Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docling/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ def convert( # noqa: C901
f"[red]Error: The input file {src} does not exist.[/red]"
)
raise typer.Abort()
except IsADirectoryError:
except (IsADirectoryError, PermissionError):
# if the input matches to a file or a folder
try:
local_path = TypeAdapter(Path).validate_python(src)
Expand Down
Loading