Skip to content

Commit

Permalink
Merge pull request #247 from SK-415/dev
Browse files Browse the repository at this point in the history
Release v1.4.1.post4
  • Loading branch information
SK-415 authored Sep 19, 2022
2 parents fd47497 + 05ee533 commit 79d98e6
Show file tree
Hide file tree
Showing 3 changed files with 371 additions and 650 deletions.
3 changes: 2 additions & 1 deletion haruka_bot/database/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from nonebot.log import logger
from packaging.version import Version as version_parser
from tortoise import Tortoise
from tortoise.connection import connections

from ..utils import get_path
from ..version import VERSION as HBVERSION
Expand Down Expand Up @@ -257,4 +258,4 @@ async def update_login(cls, tokens):


get_driver().on_startup(DB.init)
get_driver().on_shutdown(Tortoise.close_connections)
get_driver().on_shutdown(connections.close_all)
Loading

0 comments on commit 79d98e6

Please sign in to comment.