mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-10 00:35:30 +01:00
Merge branch 'master' into dev
This commit is contained in:
commit
9d148c08ce
19 changed files with 401 additions and 257 deletions
|
|
@ -398,6 +398,7 @@ class PostDocumentView(APIView):
|
|||
|
||||
with tempfile.NamedTemporaryFile(prefix="paperless-upload-",
|
||||
dir=settings.SCRATCH_DIR,
|
||||
buffering=0,
|
||||
delete=False) as f:
|
||||
f.write(doc_data)
|
||||
os.utime(f.name, times=(t, t))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue