Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
idocyabra committed Aug 13, 2024
1 parent 67a80a3 commit 684e43d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flask_session/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def __init__(
# INTERNAL METHODS

def _generate_sid(self, session_id_length: int) -> str:
"""Generate a random session id. """
"""Generate a random session id."""
new_sid = secrets.token_urlsafe(session_id_length)
if self._retrieve_session_data(new_sid):
raise RuntimeError("Session ID already exists in the database.")
Expand Down

0 comments on commit 684e43d

Please sign in to comment.