Update warning

This commit is contained in:
Dan 2018-02-17 15:01:09 +01:00
parent 1bf74a9c25
commit 87dcd4d313

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: