This commit is contained in:
mihalin 2021-09-10 01:14:53 +03:00
parent 7e89fcdd94
commit acd20c9a47

View File

@ -11,6 +11,9 @@ import olgram.commands.bot_actions # noqa: F401
from server.server import main as server_main
import logging
logging.basicConfig(level=logging.INFO)
async def init_database():
await Tortoise.init(config=TORTOISE_ORM)