diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2021-04-11 11:41:45 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2021-04-11 11:41:45 +0200 |
commit | 17c60d0bdf2948a8c55717b34d3231df7cbc141d (patch) | |
tree | 91422a52f80c9565dd5a43a04ecda0139124f90a /templates/__init__.py | |
parent | 206d304f34434817df610dc849ad62c619b1e60d (diff) |
file_storage.filesystem: Close temp file after save
This will ensure the file content is flushed and lets us get the actual
file size, which will fix very small files being stored with size == 0.
Diffstat (limited to 'templates/__init__.py')
0 files changed, 0 insertions, 0 deletions