...
This commit is contained in:
parent
259a3ad713
commit
597840d132
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue