Skip to content

Commit

Permalink
fix: close stream
Browse files Browse the repository at this point in the history
  • Loading branch information
rueedlinger committed Jun 6, 2024
1 parent 02e9475 commit b6785cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teal/pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def extract_meta_data(
doc_info = {}
for key, value in pdf.docinfo.items():
doc_info[key] = str(value)

pdf.close()
return PdfMetaDataReport.model_validate(
{
"fileName": filename,
Expand Down

0 comments on commit b6785cb

Please sign in to comment.