mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Fix formatting
This commit is contained in:
parent
2a9122e5a3
commit
a60bbe7753
@ -247,7 +247,7 @@ def parse_preset_hardware_acceleration_scale(
|
||||
height: int,
|
||||
) -> list[str]:
|
||||
"""Return the correct scaling preset or default preset if none is set."""
|
||||
if not isinstance(arg, str) or ' ' in arg:
|
||||
if not isinstance(arg, str) or " " in arg:
|
||||
scale = PRESETS_HW_ACCEL_SCALE["default"].copy()
|
||||
scale[1] = str(fps)
|
||||
scale[3] = f"{width}x{height}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user