Skip to content

Commit 2f27f3f

Browse files
committed
remove download code
1 parent 2d5fd9a commit 2f27f3f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

README.rst

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,10 @@ Here are some example codes::
101101
</form>
102102
'''
103103

104-
@app.route("/download", methods=['GET'])
105-
def download_file():
106-
return excel.make_response_from_array([[1,2], [3, 4]], "csv")
107-
108104
@app.route("/export", methods=['GET'])
109105
def export_records():
110-
return excel.make_response_from_array([[1,2], [3, 4]], "csv", file_name="export_data")
106+
return excel.make_response_from_array([[1,2], [3, 4]], "csv",
107+
file_name="export_data")
111108

112109
if __name__ == "__main__":
113110
app.run()

0 commit comments

Comments
 (0)