mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Use right args and call
This commit is contained in:
parent
1b4e44d965
commit
979af82989
@ -2017,9 +2017,8 @@ class BulkDownloadView(GenericAPIView):
|
||||
|
||||
settings.SCRATCH_DIR.mkdir(parents=True, exist_ok=True)
|
||||
temp_dir = Path(
|
||||
tempfile.TemporaryDirectory(
|
||||
tempfile.mkdtemp(
|
||||
dir=settings.SCRATCH_DIR,
|
||||
delete=False,
|
||||
),
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user