diff options
| author | jfriedli | 2019-09-24 10:59:00 -0700 |
|---|---|---|
| committer | jfriedli | 2019-09-24 10:59:00 -0700 |
| commit | d9d4ebf3a24db79e6d193a27187c2cde067c89e2 (patch) | |
| tree | 4af1b02945c39037ee5e113a96334490121b2ddb /main.py | |
| parent | 5570b38f6cd0581d1fc1676428d702759a091a4d (diff) | |
Resolve "Delete Files After Adding To Zip"
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -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 | ||
