Erreur de frappe dans un des dossiers

This commit is contained in:
cedrick2711
2026-08-04 12:57:18 -04:00
parent 0f7788e973
commit 0dd4ecdb4c
7 changed files with 56 additions and 466 deletions
-6
View File
@@ -347,14 +347,8 @@ def create_app():
# =========================================================================
with app.app_context():
import app.models as models # noqa: F401 — registers all models with SQLAlchemy
from app.models import User
db.create_all()
# Seed database if empty
if User.query.count() == 0:
from app.supporting_scrits.seed import seed_database
seed_database()
# Start the Discord bot for notifications
try:
from app.discord_bot import start_bot