mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Fix mypy
This commit is contained in:
parent
447df28746
commit
250440ca5e
@ -83,7 +83,7 @@ def get_temperatures() -> dict[str, float]:
|
||||
return temps
|
||||
|
||||
|
||||
def get_gpu_stats(config: FrigateConfig) -> dict[str, str]:
|
||||
def get_gpu_stats(config: FrigateConfig) -> dict[str, dict]:
|
||||
"""Parse GPUs from hwaccel args and use for stats."""
|
||||
hwaccel_args = set(
|
||||
map(lambda camera: camera.ffmpeg.hwaccel_args, config.cameras.values())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user