From 48e6757686bfa0c476f21fd9a6ff661623ebe4b9 Mon Sep 17 00:00:00 2001 From: eternnoir Date: Sat, 10 Mar 2018 14:41:34 +0800 Subject: [PATCH] Fix import logger problem. --- telebot/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telebot/util.py b/telebot/util.py index ca080cc4d..769f73ba8 100644 --- a/telebot/util.py +++ b/telebot/util.py @@ -14,9 +14,9 @@ import Queue except ImportError: import queue as Queue +import logging -from telebot import logger - +logger = logging.getLogger('TeleBot') thread_local = threading.local()