mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-09-19 10:22:45 +03:00
Update updates.rst
Fixed typo in logging messages, redundant "5s/" text is removed from log messages
This commit is contained in:
parent
d37b0f812f
commit
8299d066ae
|
@ -16,7 +16,7 @@ For that, you can use **events**.
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
logging.basicConfig(format='[%(levelname) 5s/%(asctime)s] %(name)s: %(message)s',
|
logging.basicConfig(format='[%(levelname) %(asctime)s] %(name)s: %(message)s',
|
||||||
level=logging.WARNING)
|
level=logging.WARNING)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user