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 %}