4 ms·
i appreciate your trust, and yeah belive me i'm deleting the files right after the processing, the way it works is that i'm saving the files uploaded as a tmp f
by sanusihassan 2y ago
i appreciate your trust, and yeah belive me i'm deleting the files right after the processing, the way it works is that i'm saving the files uploaded as a tmp file then process it then delete them after the response.
this is how the code looks like on the server side for most of the tools:
```python
...
@after_this_request
def remove_file(response):
os.remove(tmp_file.name)
return response
return response
```
i don't have any reason to keep them.
- sanusihassan 2y agoindentation is not showing correctly, but you get the idea.