Skip to content

Commit

Permalink
Merge pull request #316 from Rotzbua/fix_typo
Browse files Browse the repository at this point in the history
fix(docs): correct typo
  • Loading branch information
giovannicimolin authored Oct 12, 2023
2 parents bc7c284 + 03272c9 commit 00a457b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion knox/crypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def create_token_string():
def make_hex_compatible(token: str) -> str:
"""
We need to make sure that the token, that is send is hex-compatible.
When a token prefix is used, we cannot garantee that.
When a token prefix is used, we cannot guarantee that.
"""
return binascii.unhexlify(binascii.hexlify(bytes(token, 'utf-8')))

Expand Down

0 comments on commit 00a457b

Please sign in to comment.