From 87dcd4d313e0dcb1c2a783b4b55718c7da64d21e Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 17 Feb 2018 15:01:09 +0100 Subject: [PATCH] Update warning --- pyrogram/crypto/aes.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyrogram/crypto/aes.py b/pyrogram/crypto/aes.py index 8d971370..dfc20b66 100644 --- a/pyrogram/crypto/aes.py +++ b/pyrogram/crypto/aes.py @@ -23,7 +23,11 @@ log = logging.getLogger(__name__) try: import tgcrypto except ImportError: - logging.warning("Warning: TgCrypto is missing") + logging.warning( + "TgCrypto is missing! " + "Pyrogram will work the same, but at a much slower speed. " + "More info: https://docs.pyrogram.ml/resources/TgCrypto" + ) is_fast = False import pyaes else: