From bab3a86624cc826faac9ed2e21e5e6bfbd79ee58 Mon Sep 17 00:00:00 2001 From: piair Date: Mon, 21 Aug 2023 19:37:21 +0200 Subject: [PATCH] test --- Flask/app.py | 2 +- Flask/templates/settings.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Flask/app.py b/Flask/app.py index 21b6a71..127a910 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(path='/user_data', filename=filename) + return send_from_directory(directory='/user_data', filename=filename) diff --git a/Flask/templates/settings.html b/Flask/templates/settings.html index c01c594..2502165 100644 --- a/Flask/templates/settings.html +++ b/Flask/templates/settings.html @@ -64,7 +64,7 @@ logs viewer -download all config +download all config {% endif %} {%endblock %}