Fix linting

This commit is contained in:
dhoeben 2025-12-23 18:17:56 +01:00
parent 8c508b53d0
commit 067c26f271

View File

@ -33,11 +33,8 @@ from frigate.config.camera.updater import (
CameraConfigUpdateEnum,
CameraConfigUpdateTopic,
)
<<<<<<< HEAD
from frigate.ffmpeg_presets import FFMPEG_HWACCEL_VAAPI, _gpu_selector
=======
from frigate.const import THEMES_DIR
>>>>>>> a3cdd1b1 (Add custom theme support)
from frigate.ffmpeg_presets import FFMPEG_HWACCEL_VAAPI, _gpu_selector
from frigate.models import Event, Timeline
from frigate.stats.prometheus import get_metrics, update_metrics
from frigate.util.builtin import (
@ -188,6 +185,7 @@ def config(request: Request):
return JSONResponse(content=config)
@router.get("/config/themes")
def config_themes():
themes_dir = THEMES_DIR
@ -209,6 +207,7 @@ def config_themes():
return JSONResponse(content=themes)
@router.get("/config/raw_paths", dependencies=[Depends(require_role(["admin"]))])
def config_raw_paths(request: Request):
"""Admin-only endpoint that returns camera paths and go2rtc streams without credential masking."""