Skip to content

Commit 011375d

Browse files
committed
Update docs link
1 parent 7114875 commit 011375d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

pyrogram/client/client.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1429,10 +1429,7 @@ def load_config(self):
14291429
self.api_id = parser.getint("pyrogram", "api_id")
14301430
self.api_hash = parser.get("pyrogram", "api_hash")
14311431
else:
1432-
raise AttributeError(
1433-
"No API Key found. "
1434-
"More info: https://docs.pyrogram.org/intro/setup#configuration"
1435-
)
1432+
raise AttributeError("No API Key found. More info: https://docs.pyrogram.org/intro/setup")
14361433

14371434
for option in ["app_version", "device_model", "system_version", "lang_code"]:
14381435
if getattr(self, option):

0 commit comments

Comments
 (0)