From 4396aa2ce8edcae76afea7a6c4d2bcd3cb86f03e Mon Sep 17 00:00:00 2001 From: Maxime Desroches Date: Sat, 9 Aug 2025 17:02:03 -0700 Subject: [PATCH] not real --- system/ui/setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/system/ui/setup.py b/system/ui/setup.py index a0eccf98f8..0b679217b3 100755 --- a/system/ui/setup.py +++ b/system/ui/setup.py @@ -12,7 +12,6 @@ import shutil import pyray as rl from cereal import log -from openpilot.common.git import get_short_branch from openpilot.system.hardware import HARDWARE from openpilot.system.ui.lib.application import gui_app, FontWeight from openpilot.system.ui.widgets import Widget @@ -312,7 +311,7 @@ class Setup(Widget): gui_app.set_modal_overlay(self.keyboard, callback=handle_keyboard_result) def use_openpilot(self): - if os.path.isdir(OPENPILOT_CACHE) and get_short_branch(OPENPILOT_CACHE) == "release3-staging": + if os.path.isdir(OPENPILOT_CACHE): shutil.copyfile(INSTALLER_SOURCE, INSTALLER_DESTINATION) self.download_url = OPENPILOT_URL self.prepare_installer()