mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-16 21:55:37 -05:00
Use right args and call
This commit is contained in:
@@ -1597,9 +1597,8 @@ class BulkDownloadView(GenericAPIView):
|
|||||||
|
|
||||||
settings.SCRATCH_DIR.mkdir(parents=True, exist_ok=True)
|
settings.SCRATCH_DIR.mkdir(parents=True, exist_ok=True)
|
||||||
temp_dir = Path(
|
temp_dir = Path(
|
||||||
tempfile.TemporaryDirectory(
|
tempfile.mkdtemp(
|
||||||
dir=settings.SCRATCH_DIR,
|
dir=settings.SCRATCH_DIR,
|
||||||
delete=False,
|
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user