diff --git a/Flask/app.py b/Flask/app.py index b221ecd..4e42a89 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -420,6 +420,7 @@ def allowed_file(filename): @app.route('/upload_file/', methods=['POST']) @login_required def upload_file(): + print(request.files) # check if the post request has the file part if 'file' not in request.files: print('No file part') diff --git a/Flask/templates/settings.html b/Flask/templates/settings.html index 02965f9..d5136ff 100644 --- a/Flask/templates/settings.html +++ b/Flask/templates/settings.html @@ -74,7 +74,11 @@ - +
+ + + +
{% endif %} {%endblock %}