Skip to content

Commit b3102f6

Browse files
committed
_make_repsonse wraps Flask Response object
1 parent 4d3533c commit b3102f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flask_excel/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def get_file_tuple(self, field_name):
2828
Flask.request_class = ExcelRequest
2929

3030

31-
def make_response(content, content_type, status, file_name=None):
31+
def _make_response(content, content_type, status, file_name=None):
3232
"""
3333
Custom response function that is called by pyexcel-webio
3434
"""
@@ -38,7 +38,7 @@ def make_response(content, content_type, status, file_name=None):
3838
return response
3939

4040

41-
webio.ExcelResponse = make_response
41+
webio.ExcelResponse = _make_response
4242

4343

4444
from pyexcel_webio import (

0 commit comments

Comments
 (0)