From 0955826b6c55227c8f7a2af025e81f243bb70bcc Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Mon, 14 May 2018 00:48:18 +0200 Subject: [PATCH] Change sig and parent class init call --- pyrogram/client/ext/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyrogram/client/ext/utils.py b/pyrogram/client/ext/utils.py index 13035ed1..f83557f2 100644 --- a/pyrogram/client/ext/utils.py +++ b/pyrogram/client/ext/utils.py @@ -33,8 +33,8 @@ log = logging.getLogger(__name__) # TODO: Organize the code better? class Str(str): - def __init__(self, text): - str.__init__(text) + def __init__(self, *args): + super().__init__() self._client = None self._entities = None