Небольшой рефакторинг кода
This commit is contained in:
parent
9ac52c8a8b
commit
7491ce455d
4 changed files with 4 additions and 9 deletions
|
|
@ -1,16 +1,12 @@
|
|||
import os
|
||||
import json
|
||||
import logging
|
||||
import tempfile
|
||||
from fastapi import APIRouter, HTTPException, Body, Depends
|
||||
from fastapi import APIRouter, HTTPException, Depends
|
||||
from starlette.responses import FileResponse
|
||||
from services.settings_service import SettingsService
|
||||
from utils.i18n import get_translations, _
|
||||
from babel.support import Translations
|
||||
import shutil
|
||||
|
||||
# Настройка логирования
|
||||
logging.basicConfig(level=logging.DEBUG) # Уровень DEBUG для детализации
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
router = APIRouter()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue