forked from orbit-oss/flask
fix typing
This commit is contained in:
parent
a411a2434b
commit
7b0088693e
1 changed files with 2 additions and 2 deletions
|
|
@ -1411,8 +1411,8 @@ class Flask(App):
|
|||
for func in reversed(self.after_request_funcs[name]):
|
||||
response = self.ensure_sync(func)(response)
|
||||
|
||||
if not self.session_interface.is_null_session(ctx._session):
|
||||
self.session_interface.save_session(self, ctx._session, response)
|
||||
if not self.session_interface.is_null_session(ctx._get_session()):
|
||||
self.session_interface.save_session(self, ctx._get_session(), response)
|
||||
|
||||
return response
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue