Formatting

This commit is contained in:
Nick Mowen 2023-01-12 15:02:07 -07:00
parent b588c7ceca
commit c8262e65a3

View File

@ -129,7 +129,12 @@ def parse_preset_hardware_acceleration_scale(
) -> list[str]: ) -> list[str]:
"""Return the correct scaling preset or default preset if none is set.""" """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: str = PRESETS_HW_ACCEL_SCALE["default"].copy().format(fps, width, height).split(" ") scale: str = (
PRESETS_HW_ACCEL_SCALE["default"]
.copy()
.format(fps, width, height)
.split(" ")
)
scale.extend(detect_args) scale.extend(detect_args)
return scale return scale