mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Fix "No handlers found for logger ..."
This commit is contained in:
parent
8683364cb1
commit
b320701a1d
@ -10,6 +10,7 @@ except ImportError:
|
|||||||
import time
|
import time
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
logging.basicConfig()
|
||||||
|
|
||||||
logger = logging.getLogger('Telebot')
|
logger = logging.getLogger('Telebot')
|
||||||
import re
|
import re
|
||||||
|
Loading…
Reference in New Issue
Block a user