From a3e993a091a42d4045aa98c826f7695dd0e7de0d Mon Sep 17 00:00:00 2001 From: piair Date: Mon, 21 Aug 2023 19:35:57 +0200 Subject: [PATCH] a --- Flask/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flask/app.py b/Flask/app.py index 127a910..21b6a71 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -409,7 +409,7 @@ def logs(): @app.route('/download/', methods=['GET', 'POST']) def download(filename): - return send_from_directory(directory='/user_data', filename=filename) + return send_from_directory(path='/user_data', filename=filename)