diff options
| author | Michael Grote | 2023-04-13 14:30:29 +0200 |
|---|---|---|
| committer | Michael Grote | 2023-04-13 14:30:29 +0200 |
| commit | fb78c61450d777f8c5cf48d280c68df3d33d2f87 (patch) | |
| tree | fd74ba7c2b457def9b48d27510691393247246ec /app.py | |
| parent | 49ef0d513dae94343f57469b5edd66680e1f0a0e (diff) | |
fix output
Diffstat (limited to 'app.py')
| -rw-r--r-- | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ def delete_file(filename): file_path = os.path.join(app.config['UPLOAD_DIRECTORY'], filename) if not os.path.isfile(file_path): - return jsonify({'error': 'File \'{}\' not found'}), 404 + return jsonify({'error': 'File not found'}), 404 os.remove(file_path) return jsonify({'success': 'File \'{}\' successfully deleted'.format(filename)}) |