Skip to content

Commit

Permalink
[fix] Importing ManamiDB when used to prevent servers from crashing
Browse files Browse the repository at this point in the history
  • Loading branch information
Animenosekai committed Sep 1, 2020
1 parent 3279d36 commit af46db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ErinaDB/erinadatabase.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import env_information
import erina_log
from .ManamiDB import manami_db_verification
from .ManamiDB import manami_database_data

def erina_database():
"""
Expand All @@ -22,6 +21,7 @@ def manami_database():
"""
Verifies and Returns the Manami Project Database
"""
from .ManamiDB import manami_database_data
erina_log.logdatabase(text='', stattype='manami_database_access')
manami_db_verification.verify_manami_adb()
return manami_database_data.database()

0 comments on commit af46db7

Please sign in to comment.