Skip to content

Commit

Permalink
Formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwhitaker committed Oct 24, 2023
1 parent 62ecd7f commit e3c6dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base64url
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def decode(s: str) -> bytes:
# is.
slen = len([b for b in s if b.isalnum()])
if slen % 4 != 0:
s += "=" * ((4 - (slen % 4) % 4))
s += "=" * (4 - (slen % 4) % 4)

return base64.urlsafe_b64decode(s)

Expand Down

0 comments on commit e3c6dff

Please sign in to comment.