diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2019-12-08 21:58:18 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2019-12-08 21:58:18 +0100 |
commit | f205f01afc4beb10b84d2c33c2c244a4c4d71619 (patch) | |
tree | d965d40d43dd6ea656dd3f9533bcf5155caa00ed /fbin/templates/api.html | |
parent | ca5cc4e8811a8244422fdfab61254b866b822eee (diff) |
filesystem: Fix error on max file size
Move the chmod call into the try block so we always call this when
add_file succeeds, otherwise new_file might not be set yet and we will
get an UnboundLocalError.
Diffstat (limited to 'fbin/templates/api.html')
0 files changed, 0 insertions, 0 deletions