From b320701a1da9330ef06bdcb8d1b3dec9f27ed12f Mon Sep 17 00:00:00 2001 From: Pieter van den Ham Date: Sun, 23 Aug 2015 16:44:35 +0200 Subject: [PATCH] Fix "No handlers found for logger ..." --- telebot/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/telebot/__init__.py b/telebot/__init__.py index 1fbe0ae..5eafe8f 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -10,6 +10,7 @@ except ImportError: import time import logging +logging.basicConfig() logger = logging.getLogger('Telebot') import re