This commit is contained in:
Yuhong Sun 2024-10-10 10:21:30 -07:00 committed by GitHub
parent 85d5e6c02f
commit b212b228fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -209,7 +209,7 @@ def read_pdf_file(
# can be discoverable by title.
return "", metadata
elif pdf_reader.is_encrypted:
logger.warning("No Password available to to decrypt pdf, returning empty")
logger.warning("No Password available to decrypt pdf, returning empty")
return "", metadata
# Extract metadata from the PDF, removing leading '/' from keys if present