mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Small tweak to use the existing tempdir instead of a new one
This commit is contained in:
@@ -142,7 +142,7 @@ class RasterisedDocumentParser(DocumentParser):
|
||||
text = None
|
||||
with tempfile.NamedTemporaryFile(
|
||||
mode="w+",
|
||||
dir=settings.SCRATCH_DIR,
|
||||
dir=self.tempdir,
|
||||
) as tmp:
|
||||
subprocess.run(
|
||||
[
|
||||
|
Reference in New Issue
Block a user