Fix formatting

This commit is contained in:
Nick Mowen 2023-01-02 16:54:32 -07:00
parent 2a9122e5a3
commit a60bbe7753

View File

@ -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}"