Skip to content

Commit 0f8f6b5

Browse files
committed
Merge pull request pallets#1162 from ajschumacher/patch-1
typo: "weather" -> "whether"
2 parents 96d7cc9 + 05ad436 commit 0f8f6b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask/sessions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def get_expiration_time(self, app, session):
255255
return datetime.utcnow() + app.permanent_session_lifetime
256256

257257
def should_set_cookie(self, app, session):
258-
"""Indicates weather a cookie should be set now or not. This is
258+
"""Indicates whether a cookie should be set now or not. This is
259259
used by session backends to figure out if they should emit a
260260
set-cookie header or not. The default behavior is controlled by
261261
the ``SESSION_REFRESH_EACH_REQUEST`` config variable. If

0 commit comments

Comments
 (0)