Files
StarPilot/selfdrive/ui/lib/starpilot_version.py
T
firestar5683 7b0c0784ed bump
2026-07-12 01:11:18 -05:00

14 lines
324 B
Python

STARPILOT_DISPLAY_VERSION = "6.7.1"
def starpilot_display_description(description: str | None) -> str:
if not description:
return ""
parts = [part.strip() for part in description.split(" / ")]
if not parts:
return STARPILOT_DISPLAY_VERSION
parts[0] = STARPILOT_DISPLAY_VERSION
return " / ".join(parts)