]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
tempdir already a path
authorshamoon <4887959+shamoon@users.noreply.github.com>
Thu, 11 Sep 2025 20:49:30 +0000 (13:49 -0700)
committershamoon <4887959+shamoon@users.noreply.github.com>
Thu, 11 Sep 2025 20:49:30 +0000 (13:49 -0700)
src/paperless_remote/parsers.py

index 964049edbece27325df5fc7197da763392e682b5..f12973399857b072d803241607b35841d7ff5944 100644 (file)
@@ -92,7 +92,7 @@ class RemoteDocumentParser(RasterisedDocumentParser):
         result = poller.result()
 
         # Download the PDF with embedded text
-        self.archive_path = Path(self.tempdir) / "archive.pdf"
+        self.archive_path = self.tempdir / "archive.pdf"
         with self.archive_path.open("wb") as f:
             for chunk in client.get_analyze_result_pdf(
                 model_id="prebuilt-read",