From f5209cc705ba993c9bcb289112d14e26f3d5a4a9 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Fri, 25 Feb 2022 14:11:34 +0700 Subject: [PATCH] [check] some fixes --- program/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/program/__init__.py b/program/__init__.py index c062b61..19694be 100644 --- a/program/__init__.py +++ b/program/__init__.py @@ -6,10 +6,8 @@ import logging from driver.core import me_bot -id = me_bot.id - logging.basicConfig( - filename=f'streambot-logs-{id}.txt', + filename=f'streambot-logs-{me_bot.id}.txt', level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s' )