From 011375d0b2fb8caeae7931f2451b9fd98a6ce794 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Mon, 9 Sep 2019 15:44:45 +0200 Subject: [PATCH] Update docs link --- pyrogram/client/client.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 993af2f0..d6676662 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -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):