Skip to content

Commit e072478

Browse files
committed
Fix #1: where field_name should have been mentioned
1 parent 9af32a5 commit e072478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/tiny_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
@app.route("/upload", methods=['GET', 'POST'])
1212
def upload_file():
1313
if request.method == 'POST':
14-
return jsonify({"result": request.get_array('file')})
14+
return jsonify({"result": request.get_array(field_name='file')})
1515
return '''
1616
<!doctype html>
1717
<title>Upload an excel file</title>

0 commit comments

Comments
 (0)