Fix unresolved reference
This commit is contained in:
parent
fa99cbbaa2
commit
fe2a8e6663
@ -320,7 +320,7 @@ class Client:
|
|||||||
self.user_id = s["user_id"]
|
self.user_id = s["user_id"]
|
||||||
|
|
||||||
def save_session(self):
|
def save_session(self):
|
||||||
if session_name is not None:
|
if self.session_name is not None:
|
||||||
auth_key = base64.b64encode(self.auth_key).decode()
|
auth_key = base64.b64encode(self.auth_key).decode()
|
||||||
auth_key = [auth_key[i: i + 43] for i in range(0, len(auth_key), 43)]
|
auth_key = [auth_key[i: i + 43] for i in range(0, len(auth_key), 43)]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user