Update tasks.py

This commit is contained in:
shamoon
2026-01-26 12:00:17 -08:00
parent 0fe48f8dad
commit 0f242c2d3a

View File

@@ -721,7 +721,10 @@ def build_share_link_bundle(bundle_id: int):
pass
raise
finally:
temp_zip_path.unlink(missing_ok=True)
try:
temp_zip_path.unlink(missing_ok=True)
except OSError:
pass
@shared_task