2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-30 05:48:14 +00:00

Merge branch 'master' into docs

This commit is contained in:
Dan 2018-02-17 15:09:57 +01:00
commit 59815d1f83

View File

@ -23,7 +23,11 @@ log = logging.getLogger(__name__)
try: try:
import tgcrypto import tgcrypto
except ImportError: 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 is_fast = False
import pyaes import pyaes
else: else: