diff options
author | Matthew Lemon <y@yulqen.org> | 2024-09-11 16:25:09 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-09-11 16:25:09 +0100 |
commit | a7afbfd090c3f059eeb0fe1573ca56f4c4cb9867 (patch) | |
tree | 280ed18c3e4121c95515d92e90d0fee715116fdd /pyblackbird_cc/resources/services.py | |
parent | b38e4abf1712cc69db6a164425a99e3cad6d138e (diff) |
Some formatting changes and calming down ruff slightly
Diffstat (limited to '')
-rw-r--r-- | pyblackbird_cc/resources/services.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyblackbird_cc/resources/services.py b/pyblackbird_cc/resources/services.py index 441f623..78cef87 100644 --- a/pyblackbird_cc/resources/services.py +++ b/pyblackbird_cc/resources/services.py @@ -26,7 +26,7 @@ def get_pdf_metadata_from_path(file_path: str) -> PDFMetadata: reader = PdfReader(file_path) n_pages = len(reader.pages) file_size = os.path.getsize(file_path) - #pdf.close() + # pdf.close() return PDFMetadata(file_name=file_path, file_size=file_size, n_pages=n_pages) |