Skip to content

Commit bbb519c

Browse files
domfaheyCopilot
andauthored
Update src/pdf_ocr_pipeline/settings.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 223ed0d commit bbb519c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pdf_ocr_pipeline/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# Attempt import; catch any error (including PydanticImportError) and shim.
2020
try:
2121
from pydantic import BaseSettings # type: ignore
22-
except Exception: # pragma: no cover
22+
except ImportError: # pragma: no cover
2323
from pydantic import BaseModel
2424

2525
class BaseSettings(BaseModel): # type: ignore

0 commit comments

Comments
 (0)