diff options
Diffstat (limited to 'pyblackbird_cc/resources/views.py')
-rw-r--r-- | pyblackbird_cc/resources/views.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pyblackbird_cc/resources/views.py b/pyblackbird_cc/resources/views.py index 09bdb9c..4158a16 100644 --- a/pyblackbird_cc/resources/views.py +++ b/pyblackbird_cc/resources/views.py @@ -134,9 +134,7 @@ def _write_pdf_to_tempdir(f) -> str: return file_path -def create_metadata( - pdf_files, -) -> Generator[tuple[services.PDFMetadata, str], None, None]: +def create_metadata(pdf_files) -> Generator[tuple[services.PDFMetadata, str], None, None]: with tempfile.TemporaryDirectory() as temp_dir: for pdf_file in pdf_files: file_path = os.path.join(temp_dir, pdf_file.name) |