From 1188010bd48e75ef79fa9acd1424513e8599e31e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 6 Aug 2022 16:51:39 -0300 Subject: I overlooked the fact passwords can now be either 12 or 16 chars long --- player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player.py b/player.py index 49d5a8a..685f8b4 100644 --- a/player.py +++ b/player.py @@ -350,7 +350,7 @@ def get_data(args, token): passwd=y["passwd"] if not passwd.isalnum(): raise Exception("Illegal password") - if len(passwd) != 12: + if len(passwd) not in [12, 16]: raise Exception("Illegal password") vs=str(y["version"]) except: -- cgit v1.2.3-70-g09d2