diff --git a/python_aternos/atclient.py b/python_aternos/atclient.py index 0db7264..d2ce327 100644 --- a/python_aternos/atclient.py +++ b/python_aternos/atclient.py @@ -67,8 +67,6 @@ class Client: """ atconn = AternosConnect() - atconn.parse_token() - atconn.generate_sec() secure = cls.secure_name(username) filename = f'{sessions_dir}/.at_{secure}' @@ -78,6 +76,9 @@ class Client: except (OSError, CredentialsError): pass + atconn.parse_token() + atconn.generate_sec() + credentials = { 'user': username, 'password': md5,