Force flush + close of FD

This commit is contained in:
Erik Johnston 2024-05-30 10:36:04 +01:00
parent 152f998798
commit 5d71a6c9b9

View file

@ -141,6 +141,8 @@ class MediaStorage:
with start_active_span("writing to main media repo"):
with open(fname, "wb") as f:
yield f, fname
f.flush()
f.close()
with start_active_span("writing to other storage providers"):
spam_check = (