Files
NHL-Scoreboard/app/__init__.py
josh 3994943757
Some checks failed
CI / Lint (push) Successful in 58s
CI / Test (push) Successful in 8s
CI / Build & Push (push) Failing after 1m33s
good luck
2026-03-29 09:20:21 -04:00

14 lines
321 B
Python

import logging
from flask import Flask
from app.config import LOG_LEVEL
logging.basicConfig(
level=getattr(logging, LOG_LEVEL.upper(), logging.INFO),
format="%(asctime)s [%(levelname)s] %(name)s: %(message)s",
datefmt="%Y-%m-%d %H:%M:%S",
)
app = Flask(__name__)
from app import routes # noqa: E402, F401