mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-05 14:54:51 +00:00
Don't use logging directly
This commit is contained in:
parent
5826470c77
commit
74a7adcbdd
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ log = logging.getLogger(__name__)
|
||||||
try:
|
try:
|
||||||
import tgcrypto
|
import tgcrypto
|
||||||
except ImportError:
|
except ImportError:
|
||||||
logging.warning(
|
log.warning(
|
||||||
"TgCrypto is missing! "
|
"TgCrypto is missing! "
|
||||||
"Pyrogram will work the same, but at a much slower speed. "
|
"Pyrogram will work the same, but at a much slower speed. "
|
||||||
"More info: https://docs.pyrogram.ml/resources/TgCrypto"
|
"More info: https://docs.pyrogram.ml/resources/TgCrypto"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue