From 4ed7be19adbfcae7fb0dd121222993f299eee5b8 Mon Sep 17 00:00:00 2001 From: eternnoir Date: Sun, 23 Aug 2015 22:52:20 +0800 Subject: [PATCH] Avoid no hnadler found. --- telebot/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/__init__.py b/telebot/__init__.py index 1fbe0ae..5f379e9 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -10,7 +10,7 @@ except ImportError: import time import logging - +logging.basicConfig() logger = logging.getLogger('Telebot') import re from telebot import apihelper, types