Skip to content

Commit

Permalink
fix mypy finding
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed May 6, 2024
1 parent a363642 commit eb1182a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/flask/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,10 @@ def save_session(
return

expires = self.get_expiration_time(app, session)
val = self.get_signing_serializer(app).dumps(dict(session)) # type: ignore
val = self.get_signing_serializer(app).dumps(dict(session)) # type: ignore[union-attr]
response.set_cookie(
name,
val, # type: ignore
val,
expires=expires,
httponly=httponly,
domain=domain,
Expand Down

0 comments on commit eb1182a

Please sign in to comment.