mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-04 22:34:52 +00:00
Update docs link
This commit is contained in:
parent
71148758c9
commit
011375d0b2
1 changed files with 1 additions and 4 deletions
|
|
@ -1429,10 +1429,7 @@ class Client(Methods, BaseClient):
|
||||||
self.api_id = parser.getint("pyrogram", "api_id")
|
self.api_id = parser.getint("pyrogram", "api_id")
|
||||||
self.api_hash = parser.get("pyrogram", "api_hash")
|
self.api_hash = parser.get("pyrogram", "api_hash")
|
||||||
else:
|
else:
|
||||||
raise AttributeError(
|
raise AttributeError("No API Key found. More info: https://docs.pyrogram.org/intro/setup")
|
||||||
"No API Key found. "
|
|
||||||
"More info: https://docs.pyrogram.org/intro/setup#configuration"
|
|
||||||
)
|
|
||||||
|
|
||||||
for option in ["app_version", "device_model", "system_version", "lang_code"]:
|
for option in ["app_version", "device_model", "system_version", "lang_code"]:
|
||||||
if getattr(self, option):
|
if getattr(self, option):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue