From 74a7adcbdd9afc1a499897413c31845bcb2fcc65 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 17 Feb 2018 16:06:36 +0100 Subject: [PATCH] Don't use logging directly --- pyrogram/crypto/aes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"