From 0d9548dfe1fdf5cba16f64e63954f48bd5882394 Mon Sep 17 00:00:00 2001 From: "Nyeki.py" <84998222+Nekidev@users.noreply.github.com> Date: Mon, 21 Oct 2024 14:08:07 -0300 Subject: [PATCH] fix(bot): :ambulance: Bot not starting. --- payphone/db/setup.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/payphone/db/setup.py b/payphone/db/setup.py index d821357..dcf9400 100644 --- a/payphone/db/setup.py +++ b/payphone/db/setup.py @@ -9,8 +9,6 @@ from payphone.core import config async def init() -> None: """Initialize the database and it's connections.""" - await tortoise.Tortoise.close_connections() - await tortoise.Tortoise.init(config.TORTOISE_ORM, use_tz=True) await tortoise.Tortoise.generate_schemas(safe=True)