From 53603773753b35d10140be4d72d77f56a7f25fab Mon Sep 17 00:00:00 2001 From: Redume Date: Fri, 14 Jun 2024 14:10:46 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=B2=20=D0=B4=D0=B5=D0=B1=D0=B0=D0=B3=20=D0=BB=D0=BE?= =?UTF-8?q?=D0=B3=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20=D0=BA=D0=BE=D0=BD?= =?UTF-8?q?=D1=84=D0=B8=D0=B3=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.py b/main.py index edcbe19..d9ecce0 100644 --- a/main.py +++ b/main.py @@ -25,8 +25,6 @@ fmt = logging.Formatter('%(asctime)s %(levelname)s %(message)s') handler.setFormatter(fmt) log.addHandler(handler) -print(config) - if config['debug']: handler.setLevel(logging.DEBUG) log.setLevel(logging.DEBUG) @@ -192,6 +190,7 @@ async def currency(inline_query: types.InlineQuery): async def main() -> None: + log.debug(config) bot = Bot(config['telegram_token']) await dp.start_polling(bot)