send files

This commit is contained in:
piair
2023-08-21 20:39:45 +02:00
parent f076eafec9
commit 8e9824b3d7
2 changed files with 6 additions and 1 deletions

View File

@ -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')