diff --git a/Flask/app.py b/Flask/app.py index 127a910..3c9b0f6 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(directory='/user_data', path=filename)