summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorjfriedli2019-09-24 10:59:00 -0700
committerjfriedli2019-09-24 10:59:00 -0700
commitd9d4ebf3a24db79e6d193a27187c2cde067c89e2 (patch)
tree4af1b02945c39037ee5e113a96334490121b2ddb /main.py
parent5570b38f6cd0581d1fc1676428d702759a091a4d (diff)
Resolve "Delete Files After Adding To Zip"
Diffstat (limited to 'main.py')
-rw-r--r--main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.py b/main.py
index d8649d7..5c6211d 100644
--- a/main.py
+++ b/main.py
@@ -215,6 +215,7 @@ def create_app(test_config=None):
215 ) 215 )
216 try: 216 try:
217 cleaned_files_zip.write(complete_path) 217 cleaned_files_zip.write(complete_path)
218 os.remove(complete_path)
218 except ValueError: 219 except ValueError:
219 abort(400, message='Creating the archive failed') 220 abort(400, message='Creating the archive failed')
220 221