diff --git a/pyrogram/crypto/aes.py b/pyrogram/crypto/aes.py index dfc20b66..c571fb2d 100644 --- a/pyrogram/crypto/aes.py +++ b/pyrogram/crypto/aes.py @@ -23,7 +23,7 @@ log = logging.getLogger(__name__) try: import tgcrypto except ImportError: - logging.warning( + log.warning( "TgCrypto is missing! " "Pyrogram will work the same, but at a much slower speed. " "More info: https://docs.pyrogram.ml/resources/TgCrypto"