From 40b0c57b54d634eb0a83f172100e184d5ab20e14 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sun, 30 Jun 2019 20:53:35 +0200 Subject: [PATCH] Don't rename the in-memory sessions --- pyrogram/client/storage/memory_storage.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyrogram/client/storage/memory_storage.py b/pyrogram/client/storage/memory_storage.py index 1c32b3f3..ff4cb540 100644 --- a/pyrogram/client/storage/memory_storage.py +++ b/pyrogram/client/storage/memory_storage.py @@ -86,8 +86,6 @@ class MemoryStorage(Storage): self.dc_id, self.test_mode, self.auth_key, self.user_id, self.is_bot = imported_session_string self.date = 0 - self.name = ":memory:" + str(self.user_id or "") - # noinspection PyAttributeOutsideInit def save(self): self.date = int(time.time())