mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-23 01:46:35 +03:00
Don't set session to None on .log_out()
This commit is contained in:
parent
c8bbbe3e3c
commit
d5a91c7273
|
@ -418,7 +418,6 @@ class TelegramClient(TelegramBareClient):
|
||||||
|
|
||||||
self.disconnect()
|
self.disconnect()
|
||||||
self.session.delete()
|
self.session.delete()
|
||||||
self.session = None
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def get_me(self):
|
def get_me(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user