mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 17:47:08 +01:00
Small tweak to use the existing tempdir instead of a new one
This commit is contained in:
parent
7be9ae9c02
commit
1e4923835b
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ class RasterisedDocumentParser(DocumentParser):
|
||||||
text = None
|
text = None
|
||||||
with tempfile.NamedTemporaryFile(
|
with tempfile.NamedTemporaryFile(
|
||||||
mode="w+",
|
mode="w+",
|
||||||
dir=settings.SCRATCH_DIR,
|
dir=self.tempdir,
|
||||||
) as tmp:
|
) as tmp:
|
||||||
subprocess.run(
|
subprocess.run(
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue