From 30c6741ec662098e535ccc5bdd326afaab02a8bb Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Thu, 10 May 2018 15:52:53 +0200 Subject: [PATCH] Update Str class --- pyrogram/client/ext/utils.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pyrogram/client/ext/utils.py b/pyrogram/client/ext/utils.py index 07903d0a..a6d6374e 100644 --- a/pyrogram/client/ext/utils.py +++ b/pyrogram/client/ext/utils.py @@ -32,12 +32,9 @@ log = logging.getLogger(__name__) # TODO: Organize the code better? - class Str(str): def __init__(self, value): - super().__init__() - - self._value = value + str.__init__(value) self._markdown = None @property