This commit is contained in:
piair 2023-08-21 20:53:07 +02:00
parent 259a3ad713
commit 597840d132

View File

@ -420,6 +420,7 @@ def allowed_file(filename):
@app.route('/upload_file/', methods=['POST', "GET"]) @app.route('/upload_file/', methods=['POST', "GET"])
@login_required @login_required
def upload_file(): def upload_file():
if request.method == 'POST':
print(request.files) print(request.files)
print(request) print(request)
# check if the post request has the file part # check if the post request has the file part