good luck
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
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
|
||||
from app import routes # noqa: E402, F401
|
||||
|
||||
Reference in New Issue
Block a user