mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +00:00
Update docs link
This commit is contained in:
parent
71148758c9
commit
011375d0b2
@ -1429,10 +1429,7 @@ class Client(Methods, BaseClient):
|
||||
self.api_id = parser.getint("pyrogram", "api_id")
|
||||
self.api_hash = parser.get("pyrogram", "api_hash")
|
||||
else:
|
||||
raise AttributeError(
|
||||
"No API Key found. "
|
||||
"More info: https://docs.pyrogram.org/intro/setup#configuration"
|
||||
)
|
||||
raise AttributeError("No API Key found. More info: https://docs.pyrogram.org/intro/setup")
|
||||
|
||||
for option in ["app_version", "device_model", "system_version", "lang_code"]:
|
||||
if getattr(self, option):
|
||||
|
Loading…
x
Reference in New Issue
Block a user