mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-05 00:35:10 +00:00
Don't use logging directly
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user