diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index f501c01a..3ca979de 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -910,8 +910,6 @@ class Client(Methods, BaseClient): if getattr(self, option): pass else: - setattr(self, option, Client.APP_VERSION) - if parser.has_section("pyrogram"): setattr(self, option, parser.get( "pyrogram", @@ -919,18 +917,6 @@ class Client(Methods, BaseClient): fallback=getattr(Client, option.upper()) )) - if self.lang_code: - pass - else: - self.lang_code = Client.LANG_CODE - - if parser.has_section("pyrogram"): - self.lang_code = parser.get( - "pyrogram", - "lang_code", - fallback=Client.LANG_CODE - ) - if self._proxy: self._proxy["enabled"] = True else: