Fix response header value, per python3
This commit is contained in:
parent
0c57183a2d
commit
d028679077
|
@ -105,7 +105,7 @@ class DepartmentsView(MasterView):
|
|||
grid = self.make_grid(data=data, sortable=False, filterable=False, pageable=False,
|
||||
configure=configure, width=None, checkboxes=True,
|
||||
row_attrs=row_attrs, main_actions=[], more_actions=[])
|
||||
self.request.response.content_type = b'text/html'
|
||||
self.request.response.content_type = str('text/html')
|
||||
self.request.response.text = grid.render_grid()
|
||||
return self.request.response
|
||||
|
||||
|
|
Loading…
Reference in a new issue