Skip to content

Commit 7b00886

Browse files
committed
fix typing
1 parent a411a24 commit 7b00886

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/flask/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,8 +1411,8 @@ def process_response(self, ctx: AppContext, response: Response) -> Response:
14111411
for func in reversed(self.after_request_funcs[name]):
14121412
response = self.ensure_sync(func)(response)
14131413

1414-
if not self.session_interface.is_null_session(ctx._session):
1415-
self.session_interface.save_session(self, ctx._session, response)
1414+
if not self.session_interface.is_null_session(ctx._get_session()):
1415+
self.session_interface.save_session(self, ctx._get_session(), response)
14161416

14171417
return response
14181418

0 commit comments

Comments
 (0)