Skip to content

Commit

Permalink
remove max. token length
Browse files Browse the repository at this point in the history
  • Loading branch information
benleb committed Dec 20, 2023
1 parent 5a1b30e commit 9806785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion surepy/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def token_seems_valid(token: str) -> bool:
bool: True if ``token`` seems valid
"""
return (
(token is not None) and token.isascii() and token.isprintable() and (320 < len(token) < 448)
(token is not None) and token.isascii() and token.isprintable() and (320 < len(token))
)


Expand Down

0 comments on commit 9806785

Please sign in to comment.