This commit is contained in:
mihalin 2021-09-17 11:11:30 +03:00
parent c57784fe05
commit 05b2c05fba

View File

@ -12,6 +12,7 @@ import typing as ty
from olgram.settings import ServerSettings from olgram.settings import ServerSettings
from olgram.models.models import Bot, GroupChat from olgram.models.models import Bot, GroupChat
logging.basicConfig(level=logging.INFO)
_logger = logging.getLogger(__name__) _logger = logging.getLogger(__name__)
db_bot_instance: ContextVar[Bot] = ContextVar('db_bot_instance') db_bot_instance: ContextVar[Bot] = ContextVar('db_bot_instance')