From d5a91c727332b5c9c4466f4c6d55f67029d0d2d0 Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Thu, 1 Feb 2018 09:39:00 +0100 Subject: [PATCH] Don't set session to None on .log_out() --- telethon/telegram_client.py | 1 - 1 file changed, 1 deletion(-) diff --git a/telethon/telegram_client.py b/telethon/telegram_client.py index 18602032..4ae7f642 100644 --- a/telethon/telegram_client.py +++ b/telethon/telegram_client.py @@ -418,7 +418,6 @@ class TelegramClient(TelegramBareClient): self.disconnect() self.session.delete() - self.session = None return True def get_me(self):