Skip to content

Commit

Permalink
[fix]
Browse files Browse the repository at this point in the history
  • Loading branch information
木瓜丸 committed Nov 25, 2020
1 parent 9bd9626 commit 6286926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mitama/app/http/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def __init__(
self._encoder = encoder
self._decoder = decoder
if isinstance(secret_key, str):
secret_key = secret_key.encode('utf-8')
secret_key = secret_key.encode("utf-8")
elif isinstance(secret_key, (bytes, bytearray)):
pass
self._fernet = fernet.Fernet(secret_key)
Expand Down

0 comments on commit 6286926

Please sign in to comment.