From fb78c61450d777f8c5cf48d280c68df3d33d2f87 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 13 Apr 2023 14:30:29 +0200 Subject: [PATCH] fix output --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index c530963..e8e7c6c 100644 --- a/app.py +++ b/app.py @@ -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)})