mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-24 07:51:44 +00:00
Update warning
This commit is contained in:
parent
1bf74a9c25
commit
87dcd4d313
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user