@@ -86,10 +86,6 @@ class Client(Methods, BaseClient):
8686 Operating System version. Defaults to *platform.system() + " " + platform.release()*
8787 This is an alternative way to set it if you don't want to use the *config.ini* file.
8888
89- system_lang_code (``str``, *optional*):
90- Code of the language used on the system, in ISO 639-1 standard. Defaults to "en".
91- This is an alternative way to set it if you don't want to use the *config.ini* file.
92-
9389 lang_code (``str``, *optional*):
9490 Code of the language used on the client, in ISO 639-1 standard. Defaults to "en".
9591 This is an alternative way to set it if you don't want to use the *config.ini* file.
@@ -149,7 +145,6 @@ def __init__(self,
149145 app_version : str = None ,
150146 device_model : str = None ,
151147 system_version : str = None ,
152- system_lang_code : str = None ,
153148 lang_code : str = None ,
154149 proxy : dict = None ,
155150 test_mode : bool = False ,
@@ -170,7 +165,6 @@ def __init__(self,
170165 self .app_version = app_version
171166 self .device_model = device_model
172167 self .system_version = system_version
173- self .system_lang_code = system_lang_code
174168 self .lang_code = lang_code
175169 # TODO: Make code consistent, use underscore for private/protected fields
176170 self ._proxy = proxy
@@ -889,7 +883,7 @@ def load_config(self):
889883 "More info: https://docs.pyrogram.ml/start/ProjectSetup#configuration"
890884 )
891885
892- for option in {"app_version" , "device_model" , "system_version" , "system_lang_code" , " lang_code" }:
886+ for option in {"app_version" , "device_model" , "system_version" , "lang_code" }:
893887 if getattr (self , option ):
894888 pass
895889 else :
0 commit comments