Skip to content

Commit 87dcd4d

Browse files
committed
Update warning
1 parent 1bf74a9 commit 87dcd4d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

pyrogram/crypto/aes.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@
2323
try:
2424
import tgcrypto
2525
except ImportError:
26-
logging.warning("Warning: TgCrypto is missing")
26+
logging.warning(
27+
"TgCrypto is missing! "
28+
"Pyrogram will work the same, but at a much slower speed. "
29+
"More info: https://docs.pyrogram.ml/resources/TgCrypto"
30+
)
2731
is_fast = False
2832
import pyaes
2933
else:

0 commit comments

Comments
 (0)