mirror of https://github.com/CIRCL/AIL-framework
fix: [paste_submit UI] filter empty file field
parent
601ea8f13e
commit
0d3d4aae1d
|
@ -295,6 +295,7 @@ def submit():
|
|||
paste_content = request.form['paste_content']
|
||||
|
||||
is_file = False
|
||||
if 'file' in request.files:
|
||||
file = request.files['file']
|
||||
if file:
|
||||
if file.filename:
|
||||
|
|
Loading…
Reference in New Issue