fix: logging

This commit is contained in:
Alex
2025-02-08 19:29:54 +00:00
parent ad77fe1116
commit f4cb48ed0d

View File

@@ -5,16 +5,16 @@ from flask import Flask, redirect, request
from application.core.logging_config import setup_logging
setup_logging()
from application.api.answer.routes import answer
from application.api.internal.routes import internal
from application.api.user.routes import user
from application.celery_init import celery
from application.core.settings import settings
from application.extensions import api
from application.api.answer.routes import answer # noqa: E402
from application.api.internal.routes import internal # noqa: E402
from application.api.user.routes import user # noqa: E402
from application.celery_init import celery # noqa: E402
from application.core.settings import settings # noqa: E402
from application.extensions import api # noqa: E402
if platform.system() == "Windows":
import pathlib
pathlib.PosixPath = pathlib.WindowsPath
dotenv.load_dotenv()