Don't use logging directly

This commit is contained in:
Dan 2018-02-17 16:06:36 +01:00
parent 5826470c77
commit 74a7adcbdd

View File

@ -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"