summaryrefslogtreecommitdiff
path: root/templates/__init__.py
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2019-12-08 21:58:18 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2019-12-08 21:58:18 +0100
commitf205f01afc4beb10b84d2c33c2c244a4c4d71619 (patch)
treed965d40d43dd6ea656dd3f9533bcf5155caa00ed /templates/__init__.py
parentca5cc4e8811a8244422fdfab61254b866b822eee (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 'templates/__init__.py')
0 files changed, 0 insertions, 0 deletions