diff options
Diffstat (limited to 'uploader/files/views.py')
-rw-r--r-- | uploader/files/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uploader/files/views.py b/uploader/files/views.py index 8d81654..ddf5350 100644 --- a/uploader/files/views.py +++ b/uploader/files/views.py @@ -59,7 +59,7 @@ def __merge_chunks__(targetfile: Path, chunkpaths: tuple[Path, ...]) -> Path: with open(chunkfile, "rb") as _chunkdata: _target.write(_chunkdata.read()) - chunkfile.unlink() + chunkfile.unlink(missing_ok=True) return targetfile |