From 980678524efe57ae7935417dd11578b94751afa4 Mon Sep 17 00:00:00 2001 From: Ben Lebherz Date: Wed, 20 Dec 2023 19:46:33 +0100 Subject: [PATCH] remove max. token length --- surepy/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/surepy/client.py b/surepy/client.py index 1759b26..8ac750c 100644 --- a/surepy/client.py +++ b/surepy/client.py @@ -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)) )